|Perl Monk, Perl Meditation|
Limit submissions over time?by deadbarnacle (Initiate)
|on Jun 18, 2006 at 06:43 UTC||Need Help??|
deadbarnacle has asked for the
wisdom of the Perl Monks concerning the following question:
Hello all :)
I am new O_O
I'm using a bare-bones CGI web form mailer, which is quite open to abuse in its current incarnation. I'd like to add a few lines to the script that will limit people to one submission once every $TIME. I'd perhaps like to limit the length of submissions, but that's less important -- I don't care so much if "War and Peace" is sent to me, just as long as it's not sent 10,000 times :)
Also, if I just limit the number of submissions, it's easier for me to understand (perl newbie).
Here is my junk:
Thanks in advance!
m j teigen