[EMAIL PROTECTED] wrote:

I'm running into a problem where imagecreatefromjpeg fails and gives me
a warning like this:

Warning: imagecreatefromjpeg(): 'albums/userpics/10001/dave_sharath.jpg'
is not a valid JPEG file in
/homepages/32/d91926016/htdocs/photos/include/picmgmt.inc.php on line
202



Hav you had luck running the script from the command line? if that works for you it could be that you are hitting the memory limits for your php scripts. A JPEG when loaded in memory could take up more memory than the size of the file.


-- Raditha Dissanayake. ------------------------------------------------------------------------ http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader Graphical User Inteface. Just 128 KB | with progress bar.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to