what's wrong here? it beats me...
<?php //$url = "http://www.stalker-game.com/download/gallery/screenshots/sb_xray_16.jpg";
$image_size = getimagesize("http://www.stalker-game.com/download/gallery/screenshots/sb_xray_16.jpg"); $image_width = $image_size[0]; $image_height = $image_size[1];
echo "$image_width * $image_height<br>"; echo "size = $image_size"; ?>
Just tried a quick experiment
My script is in 'test' directory, as is barre.gif.
$IS = getimagesize("http://127.0.0.1/test/barre.gif") fails.
$IS = getimagesize("barre.gif") works.
I think maybe it doesn't like URL's.
hth
neh, that wasn't it my host has some functions disabled... thnx anyway