Hi,
I have an imagecreatefromjpeg error that I am trying to handle without an error being echoed.
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 14720 bytes) in /home/showthos/public_html/scratch/test.php on line 32
If have tried putting an @symbol infront of the imagecreatefromjpeg(); however, it just completely halts the script. won't even execute one line past the command.
I have also tried a try / catch but that didn't work either.
Finally, I tried to suppress errors entirely using error_reporting(0); however that does let the script continue either.
I know how to fix the error; however, I would like to be able to catch it just in case it ever happens again...
I'd appreciate any help,
Thanks,
slevytam