<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Advanced Poll - Cannot vote twice"]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "Advanced Poll - Cannot vote twice"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Advanced Poll - Cannot vote twice</title>
				<description><![CDATA[ Hi !<br /> <br /> I have spent hours to read through the board, but i still have the same problem.<br /> <br /> I cannot vote twice. <br /> <br /> First i have tried changing ip table to not checked, changed the time, then after browsing the board, i have edited the poll_cookie.php and changed the 96 hours to 2 hours.<br /> <br /> But still, its impossible to vote again for any of my users.<br /> <br /> (i am using the latest version with sql)<br /> <br /> Ill try to post the code of my poll:<br /> [code]&lt;?php<br /> // Important! You have to include it before your html code<br /> include_once &quot;/www/htdocs/w007669b/scripte/2009poll/poll_cookie.php&quot;;<br /> ?&gt;<br /> <br /> <br /> <br /> &lt;html&gt;<br /> <br /> &lt;head&gt;<br /> &lt;meta http-equiv=&quot;Content-Language&quot; content=&quot;de&quot;&gt;<br /> &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=windows-1252&quot;&gt;<br /> &lt;title&gt;Boys Poll&lt;/title&gt;<br /> &lt;/head&gt;<br /> <br /> &lt;body bgcolor=&quot;#0033CC&quot; style=&quot;text-align&#58; center&quot;&gt;<br /> <br /> &lt;p align=&quot;center&quot;&gt;&lt;font face=&quot;Arial Unicode MS&quot; color=&quot;#FFFFFF&quot;&gt;The Clubbing <br /> ,29.11.2008 Poll, wählt Euren Favoriten!&lt;/font&gt;&lt;/p&gt;<br /> &lt;table border=&quot;0&quot; width=&quot;100%&quot; id=&quot;table1&quot;&gt;<br /> 	&lt;tr&gt;<br /> 		&lt;td&gt;<br /> <br /> &lt;?php<br /> require_once &quot;/www/htdocs/w007669b/scripte/2009poll/booth.php&quot;;<br /> echo $php_poll-&gt;poll_process&#40;5&#41;;        // x = Poll ID<br /> ?&gt;&lt;/td&gt;<br /> 		&lt;td&gt;&lt;img border=&quot;0&quot; src=&quot;http&#58;//www.meistergigi.com/pics/poll/boys1.png&quot; width=&quot;647&quot; height=&quot;454&quot;&gt;&lt;/td&gt;<br /> 	&lt;/tr&gt;<br /> &lt;/table&gt;<br /> &amp;nbsp;<br /> <br /> &lt;/body&gt;<br /> <br /> &lt;/html&gt;[/code]<br /> <br /> Can anyone help me ? <br /> <br /> (poll_cookie)<br /> [code]&lt;?php<br /> /**<br />  * ----------------------------------------------<br />  * this code is optional<br />  * Important! You have to include it <br />  * before your html code<br />  * ----------------------------------------------<br />  */<br /> if &#40;!headers_sent&#40;&#41;&#41; &#123;<br /> 	$cookie_expire = 2; // hours<br /> 	<br /> 	$action = &#40;isset&#40;$_GET&#91;'action'&#93;&#41;&#41; ? $_GET&#91;'action'&#93; &#58; '';<br /> 	$action = &#40;isset&#40;$_POST&#91;'action'&#93;&#41;&#41; ? $_POST&#91;'action'&#93; &#58; $action;<br /> 	$poll_ident = &#40;isset&#40;$_GET&#91;'poll_ident'&#93;&#41;&#41; ? $_GET&#91;'poll_ident'&#93; &#58; '';<br /> 	$poll_ident = &#40;isset&#40;$_POST&#91;'poll_ident'&#93;&#41;&#41; ? $_POST&#91;'poll_ident'&#93; &#58; $poll_ident;<br /> 	<br /> 	if &#40;$action==&quot;vote&quot; &amp;&amp; &#40;isset&#40;$_POST&#91;'option_id'&#93;&#41; || isset&#40;$_GET&#91;'option_id'&#93;&#41;&#41;&#41; &#123;<br /> 	    $cookie_index = intval&#40;$poll_ident&#41;;<br /> 	    if &#40;!isset&#40;$_COOKIE&#91;'AdvancedPoll'&#93;&#91;$cookie_index&#93;&#41;&#41; &#123;<br /> 	        $endtime = time&#40;&#41;+3600*$cookie_expire;<br /> 	        setcookie&#40;&quot;AdvancedPoll&#91;$cookie_index&#93;&quot;, &quot;1&quot;, $endtime&#41;;<br /> 	    &#125;<br /> 	&#125;<br /> &#125;[/code]]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/7205/24374.php</guid>
				<link>https://proxy2.de/forum/posts/preList/7205/24374.php</link>
				<pubDate><![CDATA[Mon, 10 Nov 2008 14:23:59]]> GMT</pubDate>
				<author><![CDATA[ MeisterGigi]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ If you've already voted when the cookie was set to 92 hours, it is most <br /> likely still being read and used for the timeout before you can vote again.<br /> <br /> You'd have to delete the specific cookie in question and then vote again, <br /> to get the cookie with an expiry time of now + 2 hours.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/7205/24376.php</guid>
				<link>https://proxy2.de/forum/posts/preList/7205/24376.php</link>
				<pubDate><![CDATA[Tue, 11 Nov 2008 17:33:21]]> GMT</pubDate>
				<author><![CDATA[ Auron]]></author>
			</item>
	</channel>
</rss>