<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Advanced Poll 2.03 Voting"]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "Advanced Poll 2.03 Voting"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Advanced Poll 2.03 Voting</title>
				<description><![CDATA[ Whenever I vote, pressing refresh will prompt me to resend data, and my vote will be counted again.  Also, if I reload (not refresh) the page, it asks me to vote again instead of displaying the results!  Any idea what could be wrong?<br /> <br /> The webpage is <a class="snap_shots" href="http://coa.ausut.com/index.html" target="_blank" rel="nofollow">http://coa.ausut.com/index.html</a><br /> <br /> I thought that having the poll data in a seperate folder might be the problem, but I tried a test file in the same folder, and had the same problem (<a class="snap_shots" href="http://coa.ausut.com/poll/test.htm" target="_blank" rel="nofollow">http://coa.ausut.com/poll/test.htm</a>).<br /> <br /> I have figured out how to block an IP for a set number of hours, but that's not really much of a help.  Surely the page should also be using cookies or similar to block users from re-posting their vote.<br /> <br /> For reference, index.html includes side.htm (HTM is PHP enabled on my host), which has (in terms of relevant stuff):<br /> <br /> &lt;?php<br /> require ("http://coa.ausut.com/poll/poll_cookie.php");<br /> ?&gt;<br /> <br /> &lt;html&gt;&lt;head&gt;<br /> <br /> //Script for date<br /> <br /> &lt;/head&gt;&lt;body&gt;<br /> <br /> //Table setup and titles, etc<br /> <br />     &lt;?php<br /> <br /> $poll_path = "/data/www/agn_38896/coa.ausut.com/html/poll";<br /> <br /> require $poll_path."/include/config.inc.php";<br /> require $poll_path."/include/$POLLDB[class]";<br /> require $poll_path."/include/class_poll.php";<br /> $CLASS["db"] = new polldb_sql;<br /> $CLASS["db"]-&gt;connect();<br /> <br /> $php_poll = new poll();<br /> <br /> <br /> echo $php_poll-&gt;poll_process(newest);<br /> <br /> ?&gt;<br /> <br /> //Rest of document<br /> <br /> &lt;/body&gt;&lt;/html&gt;<br /> <br /> <br /> I have also tried putting the require poll_cookie line in the index.html file before the &lt;html&gt; tag, and the same in the test file in the poll directory, but with no luck.<br /> <br /> Any help would be appreciated.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4371/14960.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4371/14960.php</link>
				<pubDate><![CDATA[Tue, 8 Mar 2005 13:57:55]]> GMT</pubDate>
				<author><![CDATA[ RiSkE]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ I have voted and there isn't a problem with IE, but with Netscape I received the same message.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4371/14968.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4371/14968.php</link>
				<pubDate><![CDATA[Tue, 8 Mar 2005 17:37:01]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ it doesn't appear to be writing the cookie.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4371/14969.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4371/14969.php</link>
				<pubDate><![CDATA[Tue, 8 Mar 2005 17:57:48]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Change the path in the require for the poll_cookie.php file.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4371/14971.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4371/14971.php</link>
				<pubDate><![CDATA[Tue, 8 Mar 2005 17:59:46]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Change it to what?  If I make the require point anywhere else, all I get is errors because it can't load!  I've made it require ("./poll/poll_cookie.php"); but that's just loading the exact same thing.<br /> <br /> The problem is occurring in IE and Firefox, and a mate who I got to check it is having the same problem.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4371/14986.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4371/14986.php</link>
				<pubDate><![CDATA[Wed, 9 Mar 2005 01:32:10]]> GMT</pubDate>
				<author><![CDATA[ RiSkE]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Actually, when I change it to what I said above, I get:<br /> <br /> Warning: Cannot modify header information - headers already sent by (output started at /data/www/agn_38896/coa.ausut.com/html/index.html:20) in /data/www/agn_38896/coa.ausut.com/html/poll/poll_cookie.php on line 21<br /> <br /> Very wierd.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4371/14987.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4371/14987.php</link>
				<pubDate><![CDATA[Wed, 9 Mar 2005 01:35:18]]> GMT</pubDate>
				<author><![CDATA[ RiSkE]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ search on cannot add headers.<br /> <br /> remove any white space eg. empty lines and/or spaces.<br /> <br /> search the link up the top there.<br /> <br /> second line is the solution.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4371/14988.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4371/14988.php</link>
				<pubDate><![CDATA[Wed, 9 Mar 2005 01:36:53]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Can't find anything wrong there.  It's just got a title.<br /> <br /> The following code is on the demo page.  Do I actually need any of it besides the require poll_cookie.php bit?  There is no mention of it on the side.<br /> <br /> &lt;?php<br /> $poll_path = dirname(__FILE__);<br /> if (eregi("WIN",PHP_OS)) {<br />     $poll_path = str_replace("\\","/",$poll_path);<br /> }<br /> require "./poll_cookie.php";<br /> header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");<br /> header("Last-Modified: " . gmdate("D, d M Y H:i:s") . "GMT");<br /> header("Cache-Control: no-cache, must-revalidate");<br /> header("Pragma: no-cache");<br /> ?&gt;]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4371/14993.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4371/14993.php</link>
				<pubDate><![CDATA[Wed, 9 Mar 2005 01:48:15]]> GMT</pubDate>
				<author><![CDATA[ RiSkE]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ [quote="RiSkE"]Warning: Cannot modify header information - headers already sent by (output started at /data/www/agn_38896/coa.ausut.com/html/index.html:20) in /data/www/agn_38896/coa.ausut.com/html/poll/poll_cookie.php on line 21[/quote]<br /> <br /> search on this forum. using-- warning: cannot add headers.<br /> <br /> then you'll find the solution to the problem.<br /> <br /> is the page you've included the poll have a .html/.htm extension?<br /> if so it should be .php<br /> <br /> edit; to get rid of the error search this forum for i just said and that'll get rid of the error!!!]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4371/14995.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4371/14995.php</link>
				<pubDate><![CDATA[Wed, 9 Mar 2005 01:54:20]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ The page including the poll is HTML or HTM, depending where you go, but my server provides PHP support in both.  I just changed it all over to PHP, and there is no change.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/4371/14996.php</guid>
				<link>https://proxy2.de/forum/posts/preList/4371/14996.php</link>
				<pubDate><![CDATA[Wed, 9 Mar 2005 02:08:58]]> GMT</pubDate>
				<author><![CDATA[ RiSkE]]></author>
			</item>
	</channel>
</rss>