Re: set_time_limit()
| From: | roel | Date: | Sun, 23 Sep 2001 16:12:33 +0000 |
| Subject: | Re: set_time_limit() | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-66399@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
> There is a parse error in this script. The url should be in quotes. This
> granted, the script performs correctly with latest CVS.
>
> Gavin
>
> >
> >
> > function connect1()
> > {
> > set_time_limit(2);
> > $url = "http://www.example.com";
> > $file = implode('',file($url));
> > }
> >
> >
> >
> >
> >
>