[PHP-WIN] Time limit in the script

2005-02-15 Thread Veselina Jecheva
Hello, everyone, I have to make a script, that allows the user to solve an online test (multiple choise). The test has to be solved during the specific period of time (1 hour). How can I interrupt the user after the end of the hour and redirect him to another page with the results, for example?

Re: [PHP-WIN] time limit

2001-09-23 Thread Alain Samoun
int file_exists(string filename); Alain On Sun, Sep 23, 2001 at 06:09:50PM +0200, roel wrote: > Hi, > > I'm not working in safe mode ! > The script won't time out if $url contains a bad url. > > Any suggestion? > > Thanks > > "Alain Samoun" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROT

Re: [PHP-WIN] time limit

2001-09-23 Thread roel
Hi, I'm not working in safe mode ! The script won't time out if $url contains a bad url. Any suggestion? Thanks "Alain Samoun" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > You should put your url address between quotes. set_time_limit works for me > (PHP

Re: [PHP-WIN] time limit

2001-09-23 Thread roel
If I put this between quotes the script won't time out if a bad url is given ! Any suggestion? Thanks "Alain Samoun" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > You should put your url address between quotes. set_time_limit works for me > (PHP4.06) > Alain

Re: [PHP-WIN] time limit

2001-09-22 Thread Alain Samoun
You should put your url address between quotes. set_time_limit works for me (PHP4.06) Alain On Sun, Sep 23, 2001 at 01:52:02AM +0200, dries wrote: > Why does the time limit doesn't work ? > Any suggestions how to fix this? > > Thanks! > > > function connect1() > { > set_time_limit(2); >