<?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"
	>
<channel>
	<title>Comments on: How to Automatically Redirect a Page in PHP</title>
	<atom:link href="http://www.victorchen.info/how-to-automatically-redirect-a-page-in-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.victorchen.info/how-to-automatically-redirect-a-page-in-php/</link>
	<description>Weblog of programming articles by a college graduate from the UC Irvine</description>
	<pubDate>Mon, 21 Jul 2008 00:40:52 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Valintino</title>
		<link>http://www.victorchen.info/how-to-automatically-redirect-a-page-in-php/#comment-64</link>
		<dc:creator>Valintino</dc:creator>
		<pubDate>Mon, 07 Apr 2008 18:05:49 +0000</pubDate>
		<guid isPermaLink="false">http://victorchen.info/how-to-automatically-redirect-a-page-in-php/#comment-64</guid>
		<description>Hello, Your site is great. &lt;a href="http://www.abra2.com" rel="nofollow"&gt;abra2&lt;/a&gt; [url=http://www.abra3.com]abra3[/url] http://www.abra1.com [URL]http://www.abra4.com[/URL] Regards, Valiintino Guxxi</description>
		<content:encoded><![CDATA[<p>Hello, Your site is great. <a href="http://www.abra2.com" rel="nofollow">abra2</a> [url=http://www.abra3.com]abra3[/url] <a href="http://www.abra1.com" rel="nofollow">http://www.abra1.com</a> [URL]http://www.abra4.com[/URL] Regards, Valiintino Guxxi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://www.victorchen.info/how-to-automatically-redirect-a-page-in-php/#comment-18</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Thu, 27 Mar 2008 17:06:35 +0000</pubDate>
		<guid isPermaLink="false">http://victorchen.info/how-to-automatically-redirect-a-page-in-php/#comment-18</guid>
		<description>A safer way is:

http://danltn.com/bin/57q.phps

Using if(!headers_sent()) means it will only output if there has been no output so far, safer than simply supressing errors.

Also, use an exit() or die(); after your code, otherwise the rest can easily be read by a user, and it could be confidential. Redirecting doesn't stop output.

Dan</description>
		<content:encoded><![CDATA[<p>A safer way is:</p>
<p><a href="http://danltn.com/bin/57q.phps" rel="nofollow">http://danltn.com/bin/57q.phps</a></p>
<p>Using if(!headers_sent()) means it will only output if there has been no output so far, safer than simply supressing errors.</p>
<p>Also, use an exit() or die(); after your code, otherwise the rest can easily be read by a user, and it could be confidential. Redirecting doesn&#8217;t stop output.</p>
<p>Dan</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.249 seconds -->
