Re: getimagesize (Bug? or error in PhP?)

From: Date: Wed, 23 May 2001 11:18:33 +0000
Subject: Re: getimagesize (Bug? or error in PhP?)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-54019@lists.php.net to get a copy of this message
I' have version Version 4.0.4pl1 > Hi, > > I want to have the width and the height of an image, if I place the image on > my server then it works buth if i want to load the image from another server > then I have errors, is this a bug in PHP, or is there another solution. > Because in the php.net manual they use Getimagesize() too for loading an > image from another site > (http://www.php.net/manual/en/function.getimagesize.php) > Please post a message if you know what I must do, thanks > bram > > <html> > <head> > <title>GetImageSize</title> > </head> > <body> > <? > $url="http://toontime.dk/cli/pt09.jpg"; > $imagehw = GetImageSize("$url"); > $imagewidth = $imagehw[0]; > $imageheight = $imagehw[1]; > print"$imagewidth "; > print"$imageheight "; > ?> > </body> > </html> > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#54019) next »