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
> (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: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP Windows 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