alright, well im at home now instead of work. at work, i was actually using another image link that was to a gif file to a restricted site (i can only access it from work because of the proxy settings). i couldn't get the image to copy from imdb because of the firewall/proxy settings i think.
however, now i am at home and am running the imdb code like the one above
$copy = copy('http://ia.imdb.com/media/imdb/01/I/02/13/11m.jpg', 'image.jpg');
if ($copy) {echo 'OK';} else {echo 'FAIL';}
but i get this error:
Warning: copy(image.jpg) [function.copy]: failed to open stream: Permission denied in c:\Inetpub\wwwroot\imdbImage\imdb.php on line 21
FAIL
This is really frustrating, can someone please help soon? thanks.