<?php $URL="http://cor-forum.de/forum/images/smilies/zombie.png"; list($width, $height) = getimagesize($URL); echo 'width: '.$width.'<br> height: '.$height; ?>
This results in the following output:
EDIT and I get the following warning:
Warning: getimagesize(http://cor-forum.de/forum/images/smilies/zombie.png): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /html/test.php on line 6
--whereas it displays the right values if I use another picture like
EDIT: I'd like to enable the inclusion of external images in a forum, but I want to check their size first. So, what can I do to get the size of an image, whose server is "blocking me"?
EDIT: allow_url_fopen is set to ON, yes.