Bug #7378 Updated: Segmentation fault with multipart/form-data
| From: | sander@php.net | Date: | Sun, 16 Jun 2002 12:24:35 +0000 |
| Subject: | Bug #7378 Updated: Segmentation fault with multipart/form-data | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-10599@lists.php.net to get a copy of this message | ||
ID: 7378
Updated by: sander@php.net
Reported By: david@dravanet.hu
-Status: Open
+Status: Bogus
Bug Type: Reproducible Crash
Operating System: Debian Linux
PHP Version: 3.0.17
New Comment:
Thank you for taking the time to report a problem with PHP.
Unfortunately, PHP 3 is no longer supported. Please download
the latest version of PHP 4 from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
Previous Comments:
------------------------------------------------------------------------
[2000-10-21 16:30:36] david@dravanet.hu
I traced the problem further, and I discovered, that the problem exists
with other scripts too...
The Apache replies 500 Internal Server Error if a submit the following
script:
test.html:
<form action="test.php" method="POST"
enctype="multipart/form-data">
<input type="submit" name="submit" value="Go">
</form>
test.php (Yes, it runs as CGI):
#!/usr/bin/php3
Hello world!
It's not an apache problem because I tried submitting test.html to a
Perl cgi script, and it was OK, so it's related with PHP :(
Anyone could help what is the problem or what should I do?
------------------------------------------------------------------------
[2000-10-20 17:37:14] david@dravanet.hu
I'm getting segmentation faults when using the phpAds script.
When I'm trying to add a new banner, banneradd.php it gets Internal
server error.
I'm not sure if it's a php problem, maybe it's related with Apache.
So. I traced that if the HTML FORM submitted with
enctype="multipart/form-data" segmentation fault occurs. If I submit
the FORM without enctype="multipart/form-data" it's ok.
I tried it with both php3-cgi and php4-cgi.
My config:
Apache/1.3.12 (Unix) Debian/GNU
php3-cgi 3.0.17
phpAds 1.4.0 (same problem with older versions)
What sould I do to trace back the problem, or what's causing that?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=7378&edit=1