title: PHP getimagesize empty output
body: <pre><code>&lt;?php
  $URL=&quot;http://cor-forum.de/forum/images/smilies/zombie.png&quot;;
  list($width, $height) = getimagesize($URL);
  
  echo 'width: '.$width.'&lt;br&gt;
  height: '.$height;
  ?&gt;
  </code></pre>
  <p>This results in the following output:</p>
  <pre><code>width:
  height:
  </code></pre>
  <p>EDIT and I get the following warning:</p>
  <blockquote>
  <p>Warning:
  getimagesize(<a href="http://cor-forum.de/forum/images/smilies/zombie.png" rel="nofollow noreferrer">http://cor-forum.de/forum/images/smilies/zombie.png</a>):
  failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in
  /html/test.php on
  line 6</p>
  </blockquote>
  <p>--whereas it displays the right values if I use another picture like</p>
  <pre><code>$URL='http://getfavicon.appspot.com/http://google.com?defaulticon=1pxgif';
  </code></pre>
  <p>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 &quot;blocking me&quot;?</p>
  <p>EDIT:
  allow_url_fopen is set to ON, yes.</p>