From: [EMAIL PROTECTED] Operating system: RedHat Linux 7.0 2.2.16-22 PHP version: 4.0.4pl1 PHP Bug Type: HTTP related Bug description: Upload image gets mime type written to top of image file 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. -- Edit Bug report at: http://bugs.php.net/?id=9336&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]