Need a little help with my poll.

eXistence

Junior Member
Mar 26, 2001
10
0
0
Hi folks,

Currently I'm trying to make a poll for my website and it's up and running but the problem is dubbel voting! I already have an ip check only that isn't enough so I'd like to work with cookies as well. Now the problem is that I don't know anything about cookies. :(

This is the source so far:
http://www.hardwarechoice.f2s.com/got/poll.txt

Could anyone here please help me?

I already started but it doesn't work. :(

print $query->header(-cookie=>$my_cookie);

$cookie = $query->cookie(-name=>'wedstrijd',
-value=>'\%dubbel_voting',
-expires=>'+10y',
-path=>'/poll',
-domain=>'.html4free.f2s.com',
-secure=>0);
print $query->header(-cookie=>$cookie);

use CGI;
$query = new CGI;
$query->cookie(-wedstrijd=>'dubbel_voting')

Click here to see the current (test) poll.