Posted by Daniele on 02/26/07 12:23
Hi all
i have a script where you simply upload a picture and with $image =
imagecreatefromjpeg create an object to be able to work with it.
If i upload small picture ( less then 2M )it work fine and i'm able to
resize crop end save but with bigger picture php generate and error of
memory_limit on the line where is "$image =
imagecreatefromjpeg($_FILES['imgfile']['tmp_name']);"
my php.ini memory_limit is set to 40M;
i have to be able to upload jpg on hight resolution up to 5-6 Mb
any idea ?
[Back to original message]
|