Re: GetImageSize problem

From: Date: Sun, 21 Jan 2001 19:09:45 +0000
Subject: Re: GetImageSize problem
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-35912@lists.php.net to get a copy of this message
On Sun, Jan 21, 2001 at 07:02:07PM +0100, Thies C. Arntzen wrote: > On Sun, Jan 21, 2001 at 03:05:31PM +0000, Sue Bailey wrote: > > I have a bunch of images living on one ISP's server which I want to use > > on another page on another ISP's server, with GetImageSize. I RTFM, and > > see "The filename needs to be either relative to the current document, > > or an absolute filesystem path. Thus absolute URL paths will not work." > > which is absolutely correct - I get an error msg "cannot open file". > > $DOCUMENT_ROOT is obviously no use to me - does anyone know any way > > round this? > > try the latest snapshot of PHP 4 from snaps.php.net. it > supports URLs in the getinagesize() function. Hi Sue, Thies Arntzen made a typo, it is the getimagesize() function. Look at page 497 and use "string imagefile" in newer versions as URL. -Egon -- http://www.linuxtag.de/ http://php.net/books.php http://www.concert-band.de/ mailto:linuxtag-subscribe@php-homepage.de

« previous php.general (#35912) next »