For some reason, I can get the image image size for an image on the local
machine, but remotely give me an error....


My code....

<?php
$size = GetImageSize ("images/title.gif");
echo "size: $size[0]<p>";
echo "size: $size[1]<p>";
echo "size: $size[2]<p>";
echo "size: $size[3]<p>";
$size = GetImageSize
("http://www.picpage.com/users/ka/kaurisma1331/images/image0.jpg";); 
echo "size: $size[0]<p>";
echo "size: $size[1]<p>";
echo "size: $size[2]<p>";
echo "size: $size[3]<p>";
?>



Output....


size: 310
size: 80
size: 1
size: width="310" height="80"
Warning: Unable to open
http://www.picpage.com/users/ka/kaurisma1331/images/image0.jpg in
web/imagetest.php on line 13
size: 
size: 
size: 
size: 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to