Reply to Re: PNG upload ERROR

Re: PNG upload ERROR new!
by colin, 16 years, 11 months ago
You are in fact running out of memory. The fix you added is not good, because it relies on your memory setting, and will not be appropriate for other configurations.

On the same php.net page, read the second comment above the one you mentioned.

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

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important