Modifying headers
Hey users whats up. I gotta question...
I made a "change email" page where the user can edited there email address. What I did was I made it so if they change there email address, there account activation gets turned off, an account instructions link gets sent to there new email address and after all of that, I wanted to redirect them to the logout page. But for some reason it keeps saying that the headers was already sent on line "whatever number" and in that line it has this
mail($to, $subject, $message, $header); // send the e-mail
Because its sending out the mail, the headers was already sent. therefore it wont allow me to make more than one header to be sent. Is it possible that I can make more than one header because I wanted to redirect the user to the logout page once they change there email address and the information gets sent to there email address.
___________________
RoB

