Please note that HTTP headers are case sensitive. You should use:

function mailsent()

The 'L' of location should be in upper case.


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.


<?php function mailsent(){header("location:";);exit();}

And mailing:

-- PHP Database Mailing List ( To unsubscribe, visit:

Reply via email to