php-general | 2001092
Date: 09/23/01
- Next message: roel: "[PHP] Re: [PHP-WIN] time limit"
- Previous message: Tero Tielinen: "[PHP] NONE"
- In reply to: Alain Samoun: "[PHP] Re: [PHP-WIN] time limit"
- Next in thread: roel: "[PHP] Re: [PHP-WIN] time limit"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
If I put this between quotes the script won't time out if a bad url is given
!
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 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>
- Next message: roel: "[PHP] Re: [PHP-WIN] time limit"
- Previous message: Tero Tielinen: "[PHP] NONE"
- In reply to: Alain Samoun: "[PHP] Re: [PHP-WIN] time limit"
- Next in thread: roel: "[PHP] Re: [PHP-WIN] time limit"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

