note 10617 rejected and deleted from Handling file uploads by zak

From: Date: Mon, 22 Jan 2001 20:02:57 +0000
Subject: note 10617 rejected and deleted from Handling file uploads by zak
Groups: php.notes 
Request: Send a blank email to php-notes+get-10070@lists.php.net to get a copy of this message
weird, in php 3.0.14 (maybe others) $userfile_type returns image/pjpeg instead of image/jpeg. I was tring to parse the extention only out of this string so I needed to add: $userfile_type = ($userfile_type == "image/pjpeg") ? "image/jpeg" : $userfile_type ;

« previous php.notes (#10070) next »