if($errflag) {
$_SESSION['ERRMSG_ARR'] = $errmsg_arr;
session_write_close();
header("location: login-form.php");
exit();
}
I'm changing my login form to be on multiple pages, so I want to make it so that the header("location: ) in the login form process targets the original page with the form on it. How would I go about doing this? Do I need to turn it into a variable? If so, what would I have to add to my form that would store the original URL of the form post into a variable I could then plop in my header location?

New Topic/Question
Reply




MultiQuote





|