Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001092

[PHP] Re: [PHP-WIN] time limit From: Alain Samoun (alain <email protected>)
Date: 09/23/01

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 <email protected>> wrote in message
> news:20010922233634.A22845 <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: php-windows-unsubscribe <email protected>
> > > For additional commands, e-mail: php-windows-help <email protected>
> > > To contact the list administrators, e-mail: php-list-admin <email protected>
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe <email protected>
> For additional commands, e-mail: php-windows-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>