Hi,

Well the PHP script is timing out after it executes a
no. of (or all the mail() commands). So what you got
todo is either set the PHP's timeout limit to 0 or
infinite.

set_time_limit(0);

Or you could invoke another program in the background
disconnect PHP (terminal) from it, and voila. But if
you want the mail command to be executed before
anything else you will have to set the execution limit
to infinite, or increase it to a very big limit, and
also use ignore_user_abort(1);

--- Vincent <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I've been skipping a night over this strange error:
> after execution of a mail() command, de rest of the
> script just gets ignored and my browser displays a
> "Cannot find server or DNS Error" page instead.
> 
> Ideas about how to make this baby work would be
> very welcome; thanks in advance.
> 
> I'm using PHP 4.0.6 on Apache/1.3.20 and
> sendmail -t -i. Just in case that helps.
> 
> Vincent
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
> 


=====
*********************************
http://www.geocities.com/mimodit
*********************************

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to