PHP 4.0 Bug #9677 Updated: file uploads corrupted
| From: | sniper@php.net | Date: | Sun, 11 Mar 2001 05:14:05 +0000 |
| Subject: | PHP 4.0 Bug #9677 Updated: file uploads corrupted | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-48633@lists.php.net to get a copy of this message | ||
ID: 9677
Updated by: sniper
Reported By: carl@maiatech.com
Old-Status: Open
Status: Closed
Bug Type: Unknown/Other Function
Assigned To:
Comments:
This is fixed in CVS. Try latest CVS snapshot from
http://snaps.php.net/
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-03-10 23:54:11] carl@maiatech.com
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.
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9677&edit=2