TRemmie Posted April 29, 2009 Share Posted April 29, 2009 I am working on a submission form for work where users can enter a contest but we would like to limit to a once a day submission. I have been google'ing this idea and have read people saying set up a database and log peoples IP address once a day, ive heard about creating a writeable directory that can store IP address' and have the php check if the IP is already written and if it is, deny the user. I am just wondering if anyone knows a good place to go read more about this, or has done something like this and can help me out a bit. Link to comment https://forums.phpfreaks.com/topic/156200-email-submit-form-with-max-once-a-day-submission/ Share on other sites More sharing options...
Ken2k7 Posted April 29, 2009 Share Posted April 29, 2009 Wow, you sure you got the right job there? Are the users anonymous users or registered users? If anonymous, then yes, track IP address in the database. Include in a timestamp of the last time the user entered a contest. If it's the latter case, then you can just track the user rather than IP address. Both cases aren't very hard to work out. Link to comment https://forums.phpfreaks.com/topic/156200-email-submit-form-with-max-once-a-day-submission/#findComment-822316 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.