First off, big thanks to everyone who's helped me in the past. I haven't had to post a question for almost half a year!
But now I'm having a retarded problem with something simple.
I have a signup script on my site. The data is collected, analyzed, verified, transformed, transmitted, stored, and everything that happens to user input. So, I have the data just the way I want, stored in a database; I write a nice email to the new user with the message in $message, and the return email address in the $headers var (no user input is stored in the header var). Here is the code at the point in question.
$success = mail($emailTo, $subject, $message, $headers); header("Location: http://www.ebay.com"); die();
I receive the email perfectly, every time, just as expected, but then the browser stops at a blank screen. I used ebay as a pointer so I can see if it is working. The Browser is not redirected. I've tried changing die(); to exit(); and still no good.
I'm slightly confused. I've set up header redirects before but this one doesn't work. It seems that if the script is running fine, sending emails, storing data and everything else, the syntax is ok up to this point.
Am I missing something dumb? or am I just dumb?
Thanks much for the help!