I noticed some numbers mixed with the response generated by my PHP code,
and I can't figure out what's causing it. I've dumbed my PHP script
down to just this (what could be simpler?):
And I monitor the HTTP response coming from the server (apache), it
looks like this:
HTTP/1.1 200 OK
Date: Mo
[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
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
3 matches
Mail list logo