PHP 4.0 Bug #9677: file uploads corrupted

From: Date: Sun, 11 Mar 2001 04:54:11 +0000
Subject: PHP 4.0 Bug #9677: file uploads corrupted
Groups: php.dev 
Request: Send a blank email to php-dev+get-48630@lists.php.net to get a copy of this message
From: carl@maiatech.com Operating system: redhat linux 7 PHP version: 4.0.4pl1 PHP Bug Type: Unknown/Other Function Bug description: file uploads corrupted Since version 4.0.4pl1, files uploaded with the POST method are corrupted. They contain two extra lines at the top for a content/type header and and extra line. I have worked a jury-rigged fix, by fgets-ing twice to pop off the top two lines, then fgets-ing hte rest into a new file. Of course, when this bug is fixed, I'll have to go and "unfix" all my scripts that use that jury rigged workaround. -- Edit Bug report at: http://bugs.php.net/?id=9677&edit=1

« previous php.dev (#48630) next »