<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1028266" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1028266</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-and-gasp-meta-tags#comment-1166750</link>
    <description> &lt;p&gt;It&#039;s not showing the error on the page any more.&lt;br /&gt;
If you&#039;re still having the problem, look at php&#039;s &lt;a href=&quot;http://ca3.php.net/manual/en/function.ob-start.php&quot; class=&quot;bb-url&quot;&gt;ob_start()&lt;/a&gt; and the subsequent functions. These allow you to put the order anyway you like, as long as the session_start is outside the buffer, and everything else is in it.&lt;/p&gt;
&lt;p&gt;An example would be:&lt;br /&gt;
&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 ob_start&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(); &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;lt;head&amp;gt;&lt;br /&gt;&amp;lt;meta http-equiv=&amp;quot;Content-Type&amp;quot; content=&amp;quot;text/html; charset=iso-8859-1&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;meta name=&amp;quot;Description&amp;quot; content=&amp;quot;The most popular free banner exchange: drive targeted traffic to your site with our excellent ratio of 4:3!&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;meta name=&amp;quot;Keywords&amp;quot; content=&amp;quot;banner exchange,free traffic,traffic,banners,advertising,free advertising,reciprocal linking,free banner exchange,more visitors&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;include(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;exchange/index.php&#039;&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;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;&#039;&lt;/p&gt;
 </description>
     <pubDate>Thu, 24 Feb 2005 19:55:07 +0000</pubDate>
 <dc:creator>CptAwesome</dc:creator>
 <guid isPermaLink="false">comment 1166750 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-and-gasp-meta-tags#comment-1166741</link>
    <description> &lt;p&gt;here&#039;s a live EXAMPLE of what i was claiming &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/nerdy.png&quot; title=&quot;Cool&quot; alt=&quot;Cool&quot; class=&quot;smiley-content&quot; /&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.kingoftheweb.net&quot; class=&quot;bb-url&quot;&gt;http://www.kingoftheweb.net&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;(still workin on it, but u get the drift)&lt;/p&gt;
&lt;p&gt;if u need help just PM &lt;strong&gt;me&lt;/strong&gt;&lt;/p&gt;
 </description>
     <pubDate>Thu, 24 Feb 2005 18:21:35 +0000</pubDate>
 <dc:creator>EGS</dc:creator>
 <guid isPermaLink="false">comment 1166741 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-and-gasp-meta-tags#comment-1166713</link>
    <description> &lt;p&gt;The problem is (even in dynamite&#039;s suggestion) will be that it looks like you are starting a session inside of exchange/index.php. Sessions can only be started if no other information has been sent to the broswer yet.&lt;/p&gt;
&lt;p&gt;You will either need to move the code to start the session to your main index.php file, or take the code from the main index.php file, assign that to a variable, and then in the exchange/index.php file print that string out AFTER you start the session.&lt;/p&gt;
&lt;p&gt;Now, are we to assume that the exchange/index.php doesn&#039;t output anything to the browser? from the code you gave, you have the closing  tag before you call exchange/index.php, so nothing else should go out to the browser at that point.&lt;/p&gt;
&lt;p&gt;-Greg&lt;/p&gt;
 </description>
     <pubDate>Wed, 23 Feb 2005 22:03:50 +0000</pubDate>
 <dc:creator>Greg K</dc:creator>
 <guid isPermaLink="false">comment 1166713 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-and-gasp-meta-tags#comment-1166711</link>
    <description> &lt;p&gt;Hi that&#039;s easy. First off your php web page should ONLY look like this:&lt;br /&gt;
&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; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;include(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;exchange/header.php&#039;&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;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; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;include(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;exchange/index.php&#039;&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;
&lt;p&gt;Now, make a header.php file in your exchange folder, and put all the opening HTML tags into that. Then at the end of your index.php you can close everything off with &lt;/p&gt;
&lt;p&gt;k?&lt;/p&gt;
 </description>
     <pubDate>Wed, 23 Feb 2005 20:54:54 +0000</pubDate>
 <dc:creator>EGS</dc:creator>
 <guid isPermaLink="false">comment 1166711 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
