Re: [PHP] imagecreatefromjpeg fails on large files

2004-07-20 Thread raditha dissanayake
[EMAIL PROTECTED] wrote: Thanks for the good suggestion. It turns out that the call to imagecreatefromjpeg succeeds when run from the command line and fails when invoked via the web server. I guess it is a memory limit issue of some sort. I tried upping the memory_limit via ini_set and while my

Re: [PHP] imagecreatefromjpeg fails on large files

2004-07-19 Thread tmp1000
[Sorry if there's multiple posts...] Raditha, Thanks for the good suggestion. It turns out that the call to imagecreatefromjpeg succeeds when run from the command line and fails when invoked via the web server. I guess it is a memory limit issue of some sort. I tried upping the memory_limit via

Re: [PHP] imagecreatefromjpeg fails on large files

2004-07-16 Thread raditha dissanayake
[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

[PHP] imagecreatefromjpeg fails on large files

2004-07-16 Thread tmp1000
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 The file in question is a val