note 11475 added to Handling file uploads
| From: | chris at dfwstangs dot net | Date: | Thu, 22 Feb 2001 04:21:12 +0000 |
| Subject: | note 11475 added to Handling file uploads | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-11390@lists.php.net to get a copy of this message | ||
I just got a hex editor and viewed the corrupted image files I uploaded via PHP with Ver 4.04pl1.
The Jpg has Content-Type: image/pjpeg as the first characters and the gif had Content-Type:
image/gif. This is definitely WRONG. Now how to fix it....
http://www.php.net/manual/en/features.file-upload.php