943,946 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 2008
  • PHP RSS
Jan 10th, 2005
0

help with cookies

Expand Post »
i have created this web page with html and php where i need to set cookies to block users voting more then once i have used something like this code:

if (isset($_COOKIE["x"]))
{
echo "You've already voted once!<br><br>";
}

but it doesnt work can any one help plz
Similar Threads
Reputation Points: 10
Solved Threads: 1
Posting Whiz
sam1 is offline Offline
300 posts
since Nov 2004
Jan 10th, 2005
0

Re: help help help with cookies

i had this same problem. make sure to set the TTL in your call to setcookie().
Reputation Points: 10
Solved Threads: 0
Newbie Poster
SmoothDime is offline Offline
2 posts
since Jan 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: http://www.ultracoder.com
Next Thread in PHP Forum Timeline: auto incrememnt mysql





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC