<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[PunBB Forums — Problem with header]]></title>
		<link>https://punbb.informer.com/forums/topic/2736/problem-with-header/</link>
		<atom:link href="https://punbb.informer.com/forums/feed/rss/topic/2736/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Problem with header.]]></description>
		<lastBuildDate>Sat, 20 Sep 2003 11:17:38 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Problem with header]]></title>
			<link>https://punbb.informer.com/forums/post/6015/#p6015</link>
			<description><![CDATA[<p>Well, &quot;include(&#039;../include.login.php&#039;)&quot; will run the script, it won&#039;t return the output. What you have to do is to use a little output buffering:</p><p>// START SUBST - {include.login.php}<br />ob_start();</p><p>include(&#039;../include/include.login.php&#039;);</p><p>$tpl_temp = ob_get_contents();<br />$tpl_main = str_replace(&#039;{include.login.php}&#039;, $tpl_temp, $tpl_main);<br />ob_end_clean();<br />// END SUBST - {include.login.php}</p>]]></description>
			<author><![CDATA[null@example.com (Rickard)]]></author>
			<pubDate>Sat, 20 Sep 2003 11:17:38 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/6015/#p6015</guid>
		</item>
		<item>
			<title><![CDATA[Problem with header]]></title>
			<link>https://punbb.informer.com/forums/post/6012/#p6012</link>
			<description><![CDATA[<p>I started to edit the header to fit my site. </p><p>And in header.php i wanted to add:<br /></p><div class="codebox"><pre><code>// START SUBST - {include.login.php}
$tpl_main = str_replace(&#039;{include.login.php}&#039;, include(&#039;../include.login.php&#039;), $tpl_main);
// END SUBST - {include.login.php}</code></pre></div><p>But all html code in include.login.php was included before &lt;html&gt; ...</p><p>How can I fix it? Where should I put my code in header.php?</p><p>// ToTe</p>]]></description>
			<author><![CDATA[null@example.com (ToTe)]]></author>
			<pubDate>Sat, 20 Sep 2003 11:10:11 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/6012/#p6012</guid>
		</item>
	</channel>
</rss>
