...

View Full Version : Best Practice for this situation?



thiago1983
01-23-2007, 11:45 PM
Hi everybody,

I did a form that people fill out various informations and once they submit, that information is saved in my database.

My question here is what is the best practice to avoid bad intentions from users? Like i don't want a user to submit their info then go back and then submit again and again and again causing it to fill my Database with Junk.

One of the possibilities i was thinking was to save in a file the IP and Date of insert and check if that IP already submitted on that day, he couldn't go and submit again. What do you think? Is it a good practice or not really?

Hope to hear your thoughts on this.

CFMaBiSmAd
01-24-2007, 12:05 AM
Here is a recent thread on this - http://www.codingforums.com/showthread.php?t=105371



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum