From: zorander at gmx dot net Operating system: SuSE Linux 8.1 PHP version: 4.3.1 PHP Bug Type: HTTP related Bug description: POST-uploaded file get strange content
I am not sure if I am right here, but anyhow: When I do a file upload with POST: <form action='index.php' method='POST' enctype='multipart/form-data'> File: <input type='file' name='anyname' class='input-field'> <input type='hidden' name='MAX_FILE_SIZE' value='1000000'> <input type='submit' value='Send'> <input type='hidden' name='p' value='anypage'> </form> my uploaded file gets some strange content: ;-----------------------------6e214021d Content-Disposition: form-data; name="*"; filename="* Content-Type: application/octet-stream When i upload binary files (for example images) they will get ripped, too. I am using PHP 4.3.1 and Apache 2.0.44 <- this may be the problem (?)... Thx -- Edit bug report at http://bugs.php.net/?id=22816&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22816&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22816&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22816&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22816&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22816&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22816&r=support Expected behavior: http://bugs.php.net/fix.php?id=22816&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22816&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22816&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22816&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22816&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22816&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22816&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22816&r=gnused