<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "PHP Including"]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "PHP Including"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>PHP Including</title>
				<description><![CDATA[ I use php includes:<br /> if(!$page &amp; !$id) {<br /> include("http://www.url.com/main.php");<br /> }<br /> else{<br /> include("http://www.url.com/" . "$id" . "/" . "$page" . ".php");<br /> }<br /> <br /> So when someone types: <a class="snap_shots" href="http://www.url.com/index.php?page=whatever," target="_blank" rel="nofollow">http://www.url.com/index.php?page=whatever,</a> it inlcudes the whatever.php file into wherever this code is placed on the index.php file. This makes it easy to update the navigation, as in a sense, there is only one page with a navigation bar on it.<br /> <br /> Anyway, when using this method, the page that the poll is on, say poll.php, whenever someone votes, or clicks get results, it brings them to polls.php?action=on and on...<br /> <br /> This loads ONLY the polls.php file into the browser, not the index.php file. Which is annoying. Is there any way to fix this? To see what I'm talking about:<br /> <br /> <a class="snap_shots" href="http://www.goldnsun.net/test" target="_blank" rel="nofollow">http://www.goldnsun.net/test</a><br /> <br /> <br /> P.S. When someone clicks on the Vote button, it generates some sort of error. Though, it counts the vote and such, but it returns this:<br /> <br /> Warning: Cannot add header information - headers already sent by (output started at /URL to main file:8) in /URL to cookie/polls/poll_cookie.php on line 21]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/266/669.php</guid>
				<link>https://proxy2.de/forum/posts/preList/266/669.php</link>
				<pubDate><![CDATA[Tue, 5 Mar 2002 01:13:22]]> GMT</pubDate>
				<author><![CDATA[ Maverik]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Make sure that the page your poll is embedded in has the<br /> &lt;?php require "poll_cookie.php"; ?&gt;<br /> tag before [b]anything[/b] else.<br /> <br /> That solved it for me.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/266/670.php</guid>
				<link>https://proxy2.de/forum/posts/preList/266/670.php</link>
				<pubDate><![CDATA[Tue, 5 Mar 2002 06:52:22]]> GMT</pubDate>
				<author><![CDATA[ O.C.]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ That cleared the warning error, but what about the including part. why does it only show the main.php file, rather then the main.php included IN the index.php<br /> <br /> I used a inline frame to clear it now, but that means it won't work with Netscape, and it doesn't look good anyway. this is just a temporary fix, does anyone have a permenant fix?]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/266/680.php</guid>
				<link>https://proxy2.de/forum/posts/preList/266/680.php</link>
				<pubDate><![CDATA[Tue, 5 Mar 2002 22:36:42]]> GMT</pubDate>
				<author><![CDATA[ Maverik]]></author>
			</item>
	</channel>
</rss>