<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1045365" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1045365</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Genius!
I looked in the</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/header-redirect-after-echo-php#comment-1245934</link>
    <description> &lt;p&gt;Genius!&lt;/p&gt;
&lt;p&gt;I looked in the PHP.ini file for something about output buffering, and it was turned off on the second server. That fixed it. &lt;/p&gt;
&lt;p&gt;It&#039;s probably best to leave output buffering off by default, and use it manually, but I have a lot of legacy scripts I don&#039;t want to fix &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Tue, 24 Nov 2009 16:36:00 +0000</pubDate>
 <dc:creator>teammatt3</dc:creator>
 <guid isPermaLink="false">comment 1245934 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Using output buffering is a</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/header-redirect-after-echo-php#comment-1245929</link>
    <description> &lt;p&gt;Using output buffering is a good way to ensure that no output gets in the way of sending headers, cookies, etc.  At the beginning of the script, put &lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt; ob_start&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;() &lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;, and at the end, put &lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt; ob_end_flush&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(); &lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;.&lt;/p&gt;
 </description>
     <pubDate>Tue, 24 Nov 2009 11:49:48 +0000</pubDate>
 <dc:creator>pr0gr4mm3r</dc:creator>
 <guid isPermaLink="false">comment 1245929 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
