<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>Comments on: Use fopen() to Check File Availability?</title>
	<atom:link href="/2011/04/07/use-fopen-to-check-file-availability/feed/" rel="self" type="application/rss+xml" />
	<link>/2011/04/07/use-fopen-to-check-file-availability/</link>
	<description>on web development</description>
	<lastBuildDate>Fri, 26 Oct 2018 21:40:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.0.3</generator>
	<item>
		<title>By: Jhon</title>
		<link>/2011/04/07/use-fopen-to-check-file-availability/comment-page-1/#comment-14444</link>
		<dc:creator><![CDATA[Jhon]]></dc:creator>
		<pubDate>Sat, 08 Oct 2011 15:20:27 +0000</pubDate>
		<guid isPermaLink="false">/?p=2268#comment-14444</guid>
		<description><![CDATA[Tanks for this code! +1]]></description>
		<content:encoded><![CDATA[<p>Tanks for this code! +1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Goran Jurić</title>
		<link>/2011/04/07/use-fopen-to-check-file-availability/comment-page-1/#comment-14239</link>
		<dc:creator><![CDATA[Goran Jurić]]></dc:creator>
		<pubDate>Thu, 07 Apr 2011 15:06:26 +0000</pubDate>
		<guid isPermaLink="false">/?p=2268#comment-14239</guid>
		<description><![CDATA[You can use fopen on remote files only if you have allow_url_fopen set to &quot;1&quot; in your php.ini.]]></description>
		<content:encoded><![CDATA[<p>You can use fopen on remote files only if you have allow_url_fopen set to &#8220;1&#8221; in your php.ini.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mircea Soaica</title>
		<link>/2011/04/07/use-fopen-to-check-file-availability/comment-page-1/#comment-14238</link>
		<dc:creator><![CDATA[Mircea Soaica]]></dc:creator>
		<pubDate>Thu, 07 Apr 2011 14:29:30 +0000</pubDate>
		<guid isPermaLink="false">/?p=2268#comment-14238</guid>
		<description><![CDATA[using fopen with urls is not a good practice because of code injection.

you could use curl for this and only read the response headers (CURLOPT_HEADER=true and CURLOPT_NOBODY=true).

fopen returns false on error, not only when the file doesn&#039;t exist]]></description>
		<content:encoded><![CDATA[<p>using fopen with urls is not a good practice because of code injection.</p>
<p>you could use curl for this and only read the response headers (CURLOPT_HEADER=true and CURLOPT_NOBODY=true).</p>
<p>fopen returns false on error, not only when the file doesn&#8217;t exist</p>
]]></content:encoded>
	</item>
</channel>
</rss>
