note 29756 added to features.file-upload

From: Date: Mon, 24 Feb 2003 11:52:42 +0000
Subject: note 29756 added to features.file-upload
Groups: php.notes 
Request: Send a blank email to php-notes+get-44427@lists.php.net to get a copy of this message
Going half crazy figuring out why file uploads weren't working with Internet Explorer on Win XP I found out after reading jim.dam's post that IE sends a different file-type for jpgs: image/pjpeg instead of image/jpeg. Very nice. So when checking for file type you should always consider different MIME types for the files. .jpg could also be image/jifi for example. Or don't rely on file types at all and check the extension instead. -- http://www.php.net/manual/en/features.file-upload.php http://master.php.net/manage/user-notes.php?action=edit+29756 http://master.php.net/manage/user-notes.php?action=delete+29756 http://master.php.net/manage/user-notes.php?action=reject+29756

« previous php.notes (#44427) next »