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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to