ID: 17958
Comment by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: No Feedback
Bug Type: Apache2 related
Operating System: Linux 2.4.18
PHP Version: 4.2.3
New Comment:
@[EMAIL PROTECTED]
No, it doesn't.
The problem is that the whole $_POST-Array is empty if the data is
submited as multipart/form-data.
Previous Comments:
------------------------------------------------------------------------
[2002-12-12 21:27:38] [EMAIL PROTECTED]
Use $_FILES to access the the file specs. Use $_POST for all others.
-----taken from phpinfo()----------------------
$_POST["user"] (gives me) ryan
$_FILES["userfile"] (gives me)
Array
(
[name] => Test.class
[type] => application/octet-stream
[tmp_name] => /tmp/phpyXUyr7
[error] => 0
[size] => 444
)
----------------------------
PHP Version 4.2.2
Apache/1.3.12
Hope this helps
------------------------------------------------------------------------
[2002-10-14 19:26:51] [EMAIL PROTECTED]
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2002-10-10 03:34:21] [EMAIL PROTECTED]
Reproduced with snapshot of 2002-09-28.
Didn't see any changes.
------------------------------------------------------------------------
[2002-09-26 04:31:07] [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
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.
------------------------------------------------------------------------
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