note 24130 added to function.imagecreatefromjpeg

From: Date: Wed, 07 Aug 2002 14:05:55 +0000
Subject: note 24130 added to function.imagecreatefromjpeg
Groups: php.notes 
Request: Send a blank email to php-notes+get-34456@lists.php.net to get a copy of this message
I wrote an upload script to put jpeg images on my server. I limited the maximum filesize to upload to 2Mo. This thing works, for some files, and doesn't for others. All the files I tried to upload are jpeg, from 20Ko to 1.5Mo. I use ImageCreateFromJpeg in this script, and I get this error (when it's not working) : 'fileName is not a valid JPEG file', which, I know, is not true... Is there any limitation using this function (image resolution, image size ...) Thanks, Jaad -- http://www.php.net/manual/en/function.imagecreatefromjpeg.php http://master.php.net/manage/user-notes.php?action=edit+24130 http://master.php.net/manage/user-notes.php?action=delete+24130 http://master.php.net/manage/user-notes.php?action=reject+24130

« previous php.notes (#34456) next »