Re: getimagesize with image in database

From: Date: Sun, 01 Sep 2002 18:19:17 +0000
Subject: Re: getimagesize with image in database
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-114839@lists.php.net to get a copy of this message
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 nicos@worldakt.com nicos@php.net www.GroupAKT.com - Hébergement Group. www.WorldAKT.com - Hébergement de sites Internet "Chuck Barnett" <xobyte@bellsouth.net> a écrit dans le message de news: 006901c251d8$3ce1ec20$0101a8c0@chuck... 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

« previous php.general (#114839) next »