Forum Moderators: coopster

Message Too Old, No Replies

Form help - restricting usage

         

adammc

12:57 am on Feb 21, 2007 (gmt 0)

10+ Year Member



Hi Guys,

I am creating a script that allows users to create an email account at mydomain. (Cpanel)

I would like to restrict usage of the script to prevent misuse. How could I do error checking to ensure that the script is only used once within a 5 minute timeframe?

Or am I going about this the wrong way?

mcibor

11:54 am on Feb 21, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Where do you store the email?
If in db, then you could store there creation time as well, and on another attempt check that time. If it exeeds 5 minutes, then create account, if not, then forbid.

Michal