problem in uploading JPG files

See all posts See thread Reply

Re: the full code is here new!
by cris, 17 years, 6 months ago
Fist of all thank you for your help and forgive my bad english. I am trying to use it on unix system and i am using the 0.20 version. The class works great on windows with apache (locally tested not on an online server) and i try to test it online on a unix server and it seems to have the problem. I tested it with lowercase extension and it still doesnt work. it stops the whole procedure.
i am afraid that it is due to the size of the images because it works with very small images great. when the image is over 300KB it seems to have a problem. I think that this class is a Great Work and i am asking for you help to overcome this limitation. thank you very muchReply
Re: the full code is here new!
by colin, 17 years, 6 months ago
You probably are running out of memory. See this thread

Try to raise your local memory to 20M, 32M or more.

You can add this in your script:
ini_set ( "memory_limit", "20M")

Or in a .htaccess file:
php_value memory_limit 20M
Reply