ID: 17958
Comment by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Critical
Bug Type: Apache2 related
Operating System: Linux 2.4.18
PHP Version: 4.2.3
New Comment:
Hi,
I have tested using the following platforms:
Platform 1:
OS: Windows XP Professional
Webserver: Apache/2.0.40
PHP: 4.2.3
Platform 2:
OS: Windows 2000 Professional
Webserver: Apache 2.0.40
PHP: 4.2.3
Platform 3:
OS: Windows 2000 Professional
Webserver: Apache 1.3.26
PHP: 4.2.3
I use a custom http client to connect to the http server.
The http requests are multipart/form-data.
A sample request:
POST /cgi-bin/XXXXXXX HTTP/1.1
Authorization: Basic XXXXXXXX
Content-Type: multipart/form-data;
boundary=XXXssxvnjhpdqdxvcrastvybcwvmgnykrXXX
User-Agent: Java1.4.0
Host: XXX.XXX.XXX.X:XXX
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-length: 142
XXXssxvnjhpdqdxvcrastvybcwvmgnykrXXX
Content-Disposition: form-data; name="fieldName"
fieldValue
XXXssxvnjhpdqdxvcrastvybcwvmgnykrXXX--
The $_POST array is empty.
I have tested against IBM HTTP Server/V5R2M0 and have not had a probelm
retrieving multipart/form-data POST variables using IBM REXX CGI
Parse.
I am pretty sure my header is valid.
Thanks,
Jeff
Previous Comments:
------------------------------------------------------------------------
[2002-09-16 09:19:23] [EMAIL PROTECTED]
I currently have got the problem of lost _POST-Vars even without the
enctype=... stuff.
All post vars are lost.
Browsers: Mozilla/1.0, lynx
OS: Debian Linux/PPC
Server: Apache 2.0.40
PHP: 4.2.3/4.3.0(cvs)
Is there any "workaround"? (e.g. downgrading Apache or PHP)
------------------------------------------------------------------------
[2002-09-12 07:24:01] [EMAIL PROTECTED]
updating version
------------------------------------------------------------------------
[2002-09-12 05:42:28] [EMAIL PROTECTED]
The Bug still appears in PHP 4.2.3
------------------------------------------------------------------------
[2002-08-26 10:12:39] [EMAIL PROTECTED]
I have a similar problem using PHP 4.2.2 and Apache 1.3.23. But only
the first value of the $_POST-vars gets lost.
------------------------------------------------------------------------
[2002-08-21 19:15:37] [EMAIL PROTECTED]
I just encountered symptoms quite similar to what you report here. I
lost the first field from my POST:ed data when I had
enctype"multipart/form-data" encoding on the form - with default
encoding it worked fine. I never lost all POST:ed values though; just
the first one (which happens to be a hidden field, but PHP does not
know that). I know this worked fine with the same browser (IE6) while
we were running PHP 4.1, we recently upgraded.
This is with PHP 4.2.2 and Apache 1.3.26
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/17958
--
Edit this bug report at http://bugs.php.net/?id=17958&edit=1