below is the code im trying. im just trying to learn the different features of PHP. im trying to get the size of any image i want. from anywhere on the net. i know the image im testing exists cause its on my own site. but i get this error.
Warning: Unable to open http://www.server.com/images/logo.gif in /home/user/userdomain-www/sizer.php on line 19
<?
if(!$size){
?>
<form action=sizer.php method=get>
URL OF IMAGE: <input type=text name=sizer size=65><br>
<input type=submit name=size value=Size>
</form>
<?
} else {
$size = GetImageSize("$sizer");
$size = $size[2];
echo "URL: $sizer<p><b>$size</b>";
}
?>