Redirect to different page
Our registration page users_Registration.php after being filled out goes to users_LogIn.php?accesscheck=%2Fregistration%2Fusers_Profile.php
How do I get it to go to users_ThankYou.php first? In looking at the code:
<?php
if ((($_SERVER["REQUEST_METHOD"] == "POST") && (isset($_SERVER["HTTP_REFERER"]) && strpos(urldecode($_SERVER["HTTP_REFERER"]), urldecode($_SERVER["SERVER_NAME"].$_SERVER["PHP_SELF"])) > 0) && isset($_POST))) {
//WA Universal Email object="mail"
//Send Loop Once Per Entry
$RecipientEmail = "".((isset($_POST["UserEmail"]))?$_POST["UserEmail"]:"") ."";include("WA_Universal_Email/WAUE_users_Registration_1.php");
//Send Mail All Entries
if ("users_ThankYou.php"!="") {
header("Location: users_ThankYou.php");
}
}
?>
It appears this should happen. Why does it do this... The user has no way of knowing there has been a confirmation email sent to them.
On another note, the emails that are sent from the system do not have the confirmation link as clickable users_Confirm.php?ID=whatever
Why is this?
Thanks, Dino