Re: time limit
| From: | roel | Date: | Sun, 23 Sep 2001 16:09:50 +0000 |
| Subject: | Re: time limit | ||
| References: | 1 2 | Groups: | php.general php.windows |
| Request: | Send a blank email to php-general+get-68424@lists.php.net to get a copy of this message | ||
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