<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Life and Living &#187; header problem</title>
	<atom:link href="http://www.lifenlivin.com/tag/header-problem/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lifenlivin.com</link>
	<description>Destroyed in the horizon.</description>
	<lastBuildDate>Fri, 03 Sep 2010 14:11:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PHP header already sent error</title>
		<link>http://www.lifenlivin.com/2009/08/php-header-already-sent-error/</link>
		<comments>http://www.lifenlivin.com/2009/08/php-header-already-sent-error/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 17:13:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[header already sent error]]></category>
		<category><![CDATA[header error]]></category>
		<category><![CDATA[header problem]]></category>

		<guid isPermaLink="false">http://www.lifenlivin.com/?p=81</guid>
		<description><![CDATA[Few days ago I made a silly mistake in my php coding. I have echoed something on the page where I have set the cookie.  It seems that it is not faulty code. I googled the problem and found the solution from php.net. Actually cookie must be called before anything goes to browser from server.
So [...]]]></description>
			<content:encoded><![CDATA[<p>Few days ago I made a silly mistake in my php coding. I have echoed something on the page where I have set the cookie.  It seems that it is not faulty code. I googled the problem and found the solution from php.net. Actually cookie must be called before anything goes to browser from server.</p>
<p>So If you echo anything or show anything before setting the cookie, the page will say that cannot modify header. Header already sent by&#8230;&#8230;.. or something like this.</p>
<p>Another silly mistake many of my friend made is that they paste some code before the session_start() function. This should not be done.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifenlivin.com/2009/08/php-header-already-sent-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<script type="text/javascript">var infolink_pid = 35265;</script>
<script type="text/javascript" src="http://resources.infolinks.com/js/infolinks_main.js"></script>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
try {
_uacct = "UA-4832193-1";
urchinTracker();
} catch(err) {}</script>

