Re: time limit

From: Date: Sun, 23 Sep 2001 16:35:09 +0000
Subject: Re: time limit
References: 1 2 3  Groups: php.general php.windows 
Request: Send a blank email to php-general+get-68426@lists.php.net to get a copy of this message
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" <alain@sonic.net> wrote in message > news:20010922233634.A22845@sonic.net... > > 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); > > > $url = http://www.example.com; > > > $file = implode('',file($url)); > > > } > > > > > > > > > > > > > > > -- > > > PHP Windows Mailing List (http://www.php.net/) > > > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > > > For additional commands, e-mail: php-windows-help@lists.php.net > > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#68426) next »