[PHP] Re: A Way to avoid enforced time-outs From: _lallous (elias_bachaalany <email protected>)
Date: 10/15/01

why didn't you use set_time_limit() ?

<peterdove7846 <email protected>> wrote in message
news:20011015124236.82558.qmail <email protected>
> Hi,
>
> I was having trouble with my mailing list script timing out after 30secs (
> enforced and unchangeable by my ISP ). It would start timing out after
about
> 1000 mailings or so.
>
> What I did was create a page which was passed two variables in the URL.
One
> was a start row and the other was a row count. These both referred to the
> emails in the email table.
>
> Then basically the php script chewed away 50 emails at a time, pasted a
> refresh Meta tag into the final html document using a refresh of page
about
> 4 secs. It display on the page 'Please do not close your browser emailing
> clients x of rowcount'. It would then call the script again with the
> incremented start row and start all over again.
>
> When all rows where complete the script would end and display that it had
> completed all emails.
>
> Cheers
>
> Peter
> http://www.mailmeld.com
>
>

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