there is no sure way, but using cookies/sessions you can make something that will 
*work* . assign the user a session_id, every time the user makes an entry add a value 
to the db, 

session_id = $SessionID
next_time = time() + 120

every time you make an entry, check to make sure that next_time < time() if it is then 
proceed, else update next_time = time + 300;

If you need a code example email me, I'll whip something up :)


-- 

 Chris Lee
 [EMAIL PROTECTED]



""george"" <[EMAIL PROTECTED]> wrote in message 
9b1p05$t6c$[EMAIL PROTECTED]">news:9b1p05$t6c$[EMAIL PROTECTED]...
I need to have a time running and after a certain time it will not allow
you to submit anything else,  on top of that if someone makes an entry with
less than 2 minutes to go the time must be extended by 5 minutes.
 I really am at a loss how to do this.
 Can it be done.

TIA

George



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to