<?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: Check file existence in php</title>
	<atom:link href="http://phpcollection.com/check-file-existence-in-php.html/feed" rel="self" type="application/rss+xml" />
	<link>http://phpcollection.com/check-file-existence-in-php.html</link>
	<description>PHP Tutorials collection</description>
	<lastBuildDate>Wed, 21 Jul 2010 10:31:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Php Ninza</title>
		<link>http://phpcollection.com/check-file-existence-in-php.html/comment-page-1#comment-68</link>
		<dc:creator>Php Ninza</dc:creator>
		<pubDate>Thu, 22 Oct 2009 11:39:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpcollection.com/?p=513#comment-68</guid>
		<description>@John
Just replace the echo statements with the header redirects which will redirect to particular locations, You can find the header function at www.php.net/header

Hope it helps.</description>
		<content:encoded><![CDATA[<p>@John<br />
Just replace the echo statements with the header redirects which will redirect to particular locations, You can find the header function at <a href="http://www.php.net/header" rel="nofollow">http://www.php.net/header</a></p>
<p>Hope it helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Gresham</title>
		<link>http://phpcollection.com/check-file-existence-in-php.html/comment-page-1#comment-67</link>
		<dc:creator>John Gresham</dc:creator>
		<pubDate>Fri, 16 Oct 2009 06:00:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpcollection.com/?p=513#comment-67</guid>
		<description>This is part of what I need to do.  How can this be adapted to check if a page exists and if true load that page or if false load a different page, with everything happening silently (no messages echoed or 404 displayed)?  Can anyone help?  I&#039;m new at PHP and can&#039;t seem to find the answer. Thank you so much.</description>
		<content:encoded><![CDATA[<p>This is part of what I need to do.  How can this be adapted to check if a page exists and if true load that page or if false load a different page, with everything happening silently (no messages echoed or 404 displayed)?  Can anyone help?  I&#8217;m new at PHP and can&#8217;t seem to find the answer. Thank you so much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Php Ninza</title>
		<link>http://phpcollection.com/check-file-existence-in-php.html/comment-page-1#comment-65</link>
		<dc:creator>Php Ninza</dc:creator>
		<pubDate>Sat, 18 Jul 2009 03:47:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpcollection.com/?p=513#comment-65</guid>
		<description>@Sean
Thanks for stopping by. :)

Ternary operators are sometime difficult to be grasped by newbie coders and this post was directed to them , However the information is useful</description>
		<content:encoded><![CDATA[<p>@Sean<br />
Thanks for stopping by. <img src='http://phpcollection.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Ternary operators are sometime difficult to be grasped by newbie coders and this post was directed to them , However the information is useful</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean O</title>
		<link>http://phpcollection.com/check-file-existence-in-php.html/comment-page-1#comment-64</link>
		<dc:creator>Sean O</dc:creator>
		<pubDate>Fri, 17 Jul 2009 17:14:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpcollection.com/?p=513#comment-64</guid>
		<description>Or, use the ternary operator for one line of code:
echo ( file_exists($file) ) ? &quot;$file exists&quot; : &quot;$file does not exist&quot;;</description>
		<content:encoded><![CDATA[<p>Or, use the ternary operator for one line of code:<br />
echo ( file_exists($file) ) ? &#8220;$file exists&#8221; : &#8220;$file does not exist&#8221;;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
