Hi
I'm newbie in PHP world so I think I'm missing something important
I'm simulating a memory error
I set the limit to 1 Mbyte so when this code is executed an error should appear
ini_set("memory_limit","1M");
...
echo("before");
$img = @imagecreatefromjpeg($tsrc);
echo("after");
header("location: [url]http://...[/url]");
When I run the script the result is the text "before", it seems that the execution is blocked at $img = @imagecreatefromjpeg($tsrc);
Do you have any suggestions? any missing configuration?
P.S. how can I get help online on @? what exactly does it do?
Thanks