Jump to content

Email Submit form with max 'once a day' submission.


TRemmie

Recommended Posts

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.

 

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.