title: Get remote file size using URL in PHP
body: <p>I am trying to get image size using</p>
  
  <pre><code>get_headers($url)
  </code></pre>
  
  <p>But I am getting warning like </p>
  
  <pre><code>get_headers() [function.get-headers]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in
  </code></pre>
  
  <p>Is there any other way to Do so?</p>
  
  <p>Thanks.</p>