Re: [PHP] getimagesize (Bug? or error in PhP?)
On 23 May 2001 04:15:09 -0700, [EMAIL PROTECTED] ("bram") wrote: >I' have version Version 4.0.4pl1 URL support was added in PHP 4.0.5 ! So it won't work with 4.04... Bert -- 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]
Re: [PHP] getimagesize (Bug? or error in PhP?)
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 > > > > GetImageSize > > > $url="http://toontime.dk/cli/pt09.jpg";; > $imagehw = GetImageSize("$url"); > $imagewidth = $imagehw[0]; > $imageheight = $imagehw[1]; > print"$imagewidth "; > print"$imageheight "; > ?> > > > > > > > -- > 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]
[PHP] getimagesize (Bug? or error in PhP?)
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 GetImageSize http://toontime.dk/cli/pt09.jpg";; $imagehw = GetImageSize("$url"); $imagewidth = $imagehw[0]; $imageheight = $imagehw[1]; print"$imagewidth "; print"$imageheight "; ?> -- 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]