From: eternal at clanomni dot net Operating system: Linux 2.4.19 PHP version: 4.3.1 PHP Bug Type: *Web Server problem Bug description: enctype="multipart/form-data" doesn't return data when posted via form
When we have a form that uses enctype='multipart/form-data' it doesn't return data in the $HTTP_POST_VARS so our website isn't allowing users to post forum messages, upload files, sign up for an id etc. This worked in the previous version and just stopped working when our web host upgraded php on the server. I have searched for this bug already and all the solutions say to turn on file uploads or register globals which are already set on our server. Also some say to get the cvs but at that time the cvs was for a version older than the current version i have here. Here is a link with our phpinfo: http://www.clanomni.net/phpinfo.php Test URL to see Data isn't getting posted: http://www.clanomni.net/test.php Code for test.php: $HTTP_POST_VARS = <? print_r($HTTP_POST_VARS); ?> <BR> <HR> With ENCType='multipart/form-data'<BR> <form method=post enctype='multipart/form-data'> <input type='text' value='<? print $foo ?>' name='foo'> <input type='submit'> </form> <HR> Without ENC Type<BR> <form method=post> <input type='text' value='<? print $foo ?>' name='foo'> <input type='submit'> </form> -- Edit bug report at http://bugs.php.net/?id=22807&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22807&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22807&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22807&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22807&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22807&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22807&r=support Expected behavior: http://bugs.php.net/fix.php?id=22807&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22807&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22807&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22807&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22807&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22807&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22807&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22807&r=gnused
