Hi,

There is no way to get the filesize of a file using a remote file. You
should download it to a tmp directory then check. If it is get with an http
server, you should code something with sockets to ask to the http server the
filesize using a request.

--
Merci de nous avoir choisi. - Thanks you for your choice.
Nicos - CHAILLAN Nicolas
[EMAIL PROTECTED]
[EMAIL PROTECTED]
www.GroupAKT.com - Hébergement Group.
www.WorldAKT.com - Hébergement de sites Internet
"Chuck Barnett" <[EMAIL PROTECTED]> a écrit dans le message de news:
006901c251d8$3ce1ec20$[EMAIL PROTECTED]
Hi, I'm trying to get an image size from an image in a database.

here's my code
$imagesize = getimagesize(http://domain/image.jpg);
echo $imagesize[3];

but it returns nothing.  If I use a local file, without http  it works.

I have php 4.0.6

any suggestions.

Thanks,
Chuck




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to