Re: Mail & Header Redirect

From: Date: Tue, 05 Oct 2004 19:06:10 +0000
Subject: Re: Mail & Header Redirect
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-36622@lists.php.net to get a copy of this message
Please note that HTTP headers are case sensitive. You should use: <?php function mailsent() {
    header("Location: http://www.justustwo.com/vals/thankyou.html");
    exit();
} ?> The 'L' of location should be in upper case. Amit www.digitalamit.com Valerie wrote:
I have an email that is sent upon submission of a form. I need to redirect to a confirmation page if email is sent successfully. I thought the problem was that my email headers are already being sent, but when I removed them it still did not work. I need to bcc as well. headers: <?php function mailsent(){header("location: http://www.justustwo.com/vals/thankyou.html");exit();} And mailing:


« previous php.db (#36622) next »