[eluser]See64[/eluser]
[quote author="coolfactor" date="1185754396"]PHP 5's default memory_size limit is 128MB. I would recommend upgrading to PHP5 for the improved memory management or not worry about the 32MB limit you currently have.
To answer your question, put this into the function where it's needed:
Code:
ini_set('memory_limit', '32M');
That will change the memory limit temporarily.[/quote]
Thanks for your reply! I'm actually running PHP5 (through AppServ on Windows)but it still gave the error. I will be using a live server with PHP5, I'll check if that has the bigger memory limit.
Is it necessary to put the memory_limit back to default after resizing?