PHP 4.0 Bug #9336 Updated: Upload image gets mime type written to top of image file

From: Date: Tue, 20 Feb 2001 10:57:26 +0000
Subject: PHP 4.0 Bug #9336 Updated: Upload image gets mime type written to top of image file
Groups: php.dev 
Request: Send a blank email to php-dev+get-47015@lists.php.net to get a copy of this message
ID: 9336 Updated by: sniper Reported By: dhamdan@eng.utoledo.edu Old-Status: Open Status: Closed Bug Type: HTTP related Assigned To: Comments: This should be fixed in CVS. Please try a CVS snapshot from http://snaps.php.net/ and if that doesn't work reopen this bug report. --Jani Previous Comments: --------------------------------------------------------------------------- [2001-02-19 08:13:53] dhamdan@eng.utoledo.edu I'm using this code to upload file: <FORM ENCTYPE="multipart/form-data" ACTION="_URL_" METHOD=POST> <INPUT TYPE="hidden" name="MAX_FILE_SIZE" value="1000"> Send this file: <INPUT NAME="userfile" TYPE="file"> <INPUT TYPE="submit" VALUE="Send File"> </FORM> When I go to upload on image file (or an other file for that matter), the mime type gets written to the biginning of the file, thus making the image unviewable. I installed php using the RedHat provided rpms. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9336&edit=2

« previous php.dev (#47015) next »