What version of PHP are you using? According to the manual:
"URL support was added in PHP 4.0.5"

Moody


"Joseph Bannon" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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]
>



-- 
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