<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Comments on snippet: 'Get Remote Filesize'</title>
<link>http://snipplr.com</link>
<description>Snipplr comments feed'</description>
<language>en-us</language>
<pubDate>Fri, 09 Jan 2009 20:07:20 GMT</pubDate>
<item>
<title>adulau said on 12/28/06</title>
<link>http://snipplr.com/view/29/get-remote-filesize/</link>
<description><![CDATA[ <p>Quite useful. In that example, you'll need curl compiled with PHP. Sometimes curl is not available, the same behavior could be achieved using a simple socket (fsockopen) connection in PHP. Using a HEAD request (fputs the corresponding request Headers) and get the value from the headers itself (matching Content-Length:) (as described in line 19. of the curl example). PHP 5 is including nifty function for HTTP connection handling and parsing the headers.</p>

<p>There is lengthy discussion about remote filesize on : http://be.php.net/function.filesize </p>
 ]]></description>
<pubDate>Thu, 28 Dec 2006 02:42:57 GMT</pubDate>
<guid>http://snipplr.com/view/29/get-remote-filesize/</guid>
</item>
</channel>
</rss>