Date: 10/15/01
- Next message: Jon Farmer: "Re: [PHP] Switch syntax"
- Previous message: Mike Patton: "Re: [PHP] Re: how to do a search in mysql database for multiple keywords??"
- Next in thread: _lallous: "[PHP] Re: A Way to avoid enforced time-outs"
- Reply: _lallous: "[PHP] Re: A Way to avoid enforced time-outs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: Jon Farmer: "Re: [PHP] Switch syntax"
- Previous message: Mike Patton: "Re: [PHP] Re: how to do a search in mysql database for multiple keywords??"
- Next in thread: _lallous: "[PHP] Re: A Way to avoid enforced time-outs"
- Reply: _lallous: "[PHP] Re: A Way to avoid enforced time-outs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

