The script times out even though I use set_time_limit() ;
| From: | Trond Erling Hundal | Date: | Tue, 07 Nov 2000 07:57:16 +0000 |
| Subject: | The script times out even though I use set_time_limit() ; | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-4269@lists.php.net to get a copy of this message | ||
Hi there
We`re using a mail script to send out news to 1300 ppl who have subscribed
to our newslist...
But each time we send mails, the script times out..... and the page cannot
be viewed...
The weird thing is that "sometimes" everything works ok. I wonder what can
be causing this to happen.
I have all the email adresses stored in a MySQL table. And "while" i fetch
them out, I send a mail to each one of them...
I use "set_time_limit(380);" to prevent the time out, but it doesn`t seem to
work:
Should I put all the email adresses in the "to" field and send one mail.
Or have I just set the time limit for the script too low??
Or maybe, there is something else I`m doing wrong...
Any suggestions???
-TrOnd-