From: info at bodoo dot net Operating system: Linux PHP version: 4.3.10 PHP Bug Type: *General Issues Bug description: Problem when sending multipart/form-data
Description: ------------ when posting an form with the webbrowser mozilla firefox an dialog box appears that says "The document has no data" even when the form has data and works with explorer. This problem started when we upgraded to version 4.3.10, it worked fine in 4.3.9 I have tested to change the version back to 4.3.9 and then it works. The form uses enctype="multipart/form-data" for making it possible to upload a picture. When posting the form with an picture it works so perhaps there is something wrong with posting mulitpart/form-data. Reproduce code: --------------- To reproduce the failure go to this address, itīs ok to post a new ad. Put php as a name and I now itīs a test ad. http://www.bodoo.net/NewAd/kategori.php Choose to make an ad for cars and fill in a name email subject text currancy brand miles check the agree box You should now get an dialog box wich says ' "The document has no data" If you repeat the above but ad an picture it works. Expected result: ---------------- The expected result should be a confirmation page that says "Your ad i now saved to our database" Actual result: -------------- A dialog box that says "The document has no data" -- Edit bug report at http://bugs.php.net/?id=31412&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31412&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31412&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31412&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=31412&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=31412&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=31412&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=31412&r=needscript Try newer version: http://bugs.php.net/fix.php?id=31412&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=31412&r=support Expected behavior: http://bugs.php.net/fix.php?id=31412&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=31412&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=31412&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=31412&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31412&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=31412&r=dst IIS Stability: http://bugs.php.net/fix.php?id=31412&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=31412&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=31412&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=31412&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=31412&r=mysqlcfg