#17958 [Com]: <input type=file> loses $_POST vars
| From: | ichwilleineemailadresse at gmx dot net | Date: | Thu, 10 Oct 2002 08:34:22 +0000 |
| Subject: | #17958 [Com]: <input type=file> loses $_POST vars | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-22024@lists.php.net to get a copy of this message | ||
ID: 17958
Comment by: ichwilleineemailadresse@gmx.net
Reported By: ddp@deakin.edu.au
Status: Feedback
Bug Type: Apache2 related
Operating System: Linux 2.4.18
PHP Version: 4.2.3
New Comment:
Reproduced with snapshot of 2002-09-28.
Didn't see any changes.
Previous Comments:
------------------------------------------------------------------------
[2002-09-26 04:31:07] harry@ilo.de
Tried snapshot from 2002-09-26. The Bug still appears, all post vars
get lost. In addition sometimes only some of the vars get lost.
file_uploads is set to "On".
System: WinXP Pro
Webserver: Apache/1.3.23 (Win32) PHP/4.3.0-dev mod_gzip/1.3.19.1a
mod_ssl/2.8.6 OpenSSL/0.9.6c
------------------------------------------------------------------------
[2002-09-23 15:12:59] iliaa@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
When trying to replicate this bug please make sure your file_uploads
php.ini value is set to On. In some versions of PHP, POST vars would
get lost on multipart forms when this option has a blank or Off value.
------------------------------------------------------------------------
[2002-09-19 00:54:26] nando@aboutown.ca
I am experiencing the same POST problem.
I thought it might have been an HTMLENTITIES problem
(which I posted an error) but after reading these
bug reports, I get the same thing.
I spent 3+ days programming around this.
Very frustrating.
------------------------------------------------------------------------
[2002-09-18 20:10:54] adeshner@pisem.net
Mozilla 1.1a is OK either; it seems to be an IE6.0 bug (maybe, a
specially coded feature?)
------------------------------------------------------------------------
[2002-09-18 13:53:45] jmax01@hotmail.com
Retraction:
I had two errors in my header after fixing these errors I can access
$_POST varibles in both 4.0.6 and 4.2.3.
It appears that some multipart/form-data parsers are more forgiving
than others :)
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 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