cwncool Posted February 25, 2007 Share Posted February 25, 2007 I have a script that can only allow a person to do something once every 24 hours. Right now I have it set up with cookies, so it adds a cookie with some info, and if the cookie is there, it doesn't do it. This obviously won't work well, because the person can just delete their cookies and do it again... How else can I do this? Link to comment https://forums.phpfreaks.com/topic/40087-solved-need-something-more-secure-than-cookies/ Share on other sites More sharing options...
magnetica Posted February 25, 2007 Share Posted February 25, 2007 Quite a few ways to do this one. Store there IP address in either a text file or a database and then delete their IP 24 hours from the time they submit Link to comment https://forums.phpfreaks.com/topic/40087-solved-need-something-more-secure-than-cookies/#findComment-193936 Share on other sites More sharing options...
cwncool Posted February 26, 2007 Author Share Posted February 26, 2007 and manually delete it every 24 hours? and don't say set up a cron job, because there's gotta be an easier solution... Link to comment https://forums.phpfreaks.com/topic/40087-solved-need-something-more-secure-than-cookies/#findComment-193939 Share on other sites More sharing options...
cwncool Posted February 26, 2007 Author Share Posted February 26, 2007 well, i figured out a different way. Link to comment https://forums.phpfreaks.com/topic/40087-solved-need-something-more-secure-than-cookies/#findComment-194002 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.