On my local host this code works well:
$im = imagecreatefrompng('BBcode.png');
But when I use the same code in the server
$im = imagecreatefrompng('http://lazertag.elitno.net/drupal/BBcode.png');
I got the folloowing error:
Warning: imagecreatefrompng(http://lazertag.elitno.net/drupal/BBcode.png) [function.imagecreatefrompng]: failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /www/elitno.net/l/a/lazertag/home/site/drupal/renderImage.php on line 46
How do I solve this?