Hi Jason,
Which email? The one sent to them after the register? I have attached all pages involve in this process.
This is the code of the form from the registration page:
<?php
if (isset($_POST["Registration_submit"])) {
$WAFV_Redirect = "".(htmlentities($_SERVER["PHP_SELF"], ENT_QUOTES)) ."?invalid=true";
$_SESSION['WAVT_usersregistration_Errors'] = "";
if ($WAFV_Redirect == "") {
$WAFV_Redirect = $_SERVER["PHP_SELF"];
}
$WAFV_Errors = "";
$WAFV_Errors .= WAValidateEM((isset($_POST["Registration_group_Email"])?$_POST["Registration_group_Email"]:"") . "",true,1);
$WAFV_Errors .= WAValidateUnique(("Garrincha"),$Garrincha,$database_Garrincha,"users","UserID","none,none,NULL","".((isset($_SESSION["SecurityAssist_UserID"]))?$_SESSION["SecurityAssist_UserID"]:"0") ."","UserEmail","',none,''","".((isset($_POST["Registration_group_Email"]))?$_POST["Registration_group_Email"]:"") ."",true,2);
$WAFV_Errors .= WAValidateRQ((isset($_POST["Registration_group_Password"])?$_POST["Registration_group_Password"]:"") . "",true,3);
$WAFV_Errors .= WAValidateEL((isset($_POST["Registration_group_Password"])?$_POST["Registration_group_Password"]:"") . "",6,500,true,4);
$WAFV_Errors .= WAValidateLE((isset($_POST["Registration_group_Confirm"])?$_POST["Registration_group_Confirm"]:"") . "",(isset($_POST["Registration_group_Confirm"])?$_POST["Registration_group_Confirm"]:"") . "",true,5);
$WAFV_Errors .= WAValidateRQ((isset($_POST["Registration_group_First_Name"])?$_POST["Registration_group_First_Name"]:"") . "",true,6);
$WAFV_Errors .= WAValidateRQ((isset($_POST["Registration_group_Last_Name"])?$_POST["Registration_group_Last_Name"]:"") . "",true,7);
$WAFV_Errors .= WAValidateRQ((isset($_POST["Registration_group_Address"])?$_POST["Registration_group_Address"]:"") . "",true,8);
$WAFV_Errors .= WAValidateRQ((isset($_POST["Registration_group_City"])?$_POST["Registration_group_City"]:"") . "",true,9);
$WAFV_Errors .= WAValidateRQ((isset($_POST["Registration_group_State"])?$_POST["Registration_group_State"]:"") . "",true,10);
$WAFV_Errors .= WAValidateRQ((isset($_POST["Registration_group_10_Zip"])?$_POST["Registration_group_10_Zip"]:"") . "",true,11);
$WAFV_Errors .= WAValidateRQ((isset($_POST["Registration_group_11_Country"])?$_POST["Registration_group_11_Country"]:"") . "",true,12);
$WAFV_Errors .= WAValidateRQ((isset($_POST["Registration_group_1_Phone"])?$_POST["Registration_group_1_Phone"]:"") . "",true,13);
$WAFV_Errors .= WAValidateLE((strtolower(isset($_POST["Security_Code"])?$_POST["Security_Code"]:"")) . "",((isset($_SESSION["captcha_Security_Code"]))?strtolower($_SESSION["captcha_Security_Code"]):"") . "",true,14);
$WAFV_Errors .= WAValidateLE((strtolower(isset($_POST["Security_Answer"])?$_POST["Security_Answer"]:"")) . "",((isset($_SESSION["random_answer"]))?strtolower($_SESSION["random_answer"]):"") . "",true,15);
$WAFV_Errors .= WAValidateRX((isset($_POST["Hidden_Field"])?$_POST["Hidden_Field"]:"") . "","/.* /",false,16);
if ($WAFV_Errors != "") {
PostResult($WAFV_Redirect,$WAFV_Errors,"usersregistration");
}
}
?>
This is the code of the form from their profile:
<?php
if (isset($_POST["UserUpdate_submit"])) {
$WAFV_Redirect = "".(htmlentities($_SERVER["PHP_SELF"], ENT_QUOTES)) ."?invalid=true";
$_SESSION['WAVT_usersupdate_Errors'] = "";
if ($WAFV_Redirect == "") {
$WAFV_Redirect = $_SERVER["PHP_SELF"];
}
$WAFV_Errors = "";
$WAFV_Errors .= WAValidateEM((isset($_POST["User_Update_group_Email"])?$_POST["User_Update_group_Email"]:"") . "",true,1);
$WAFV_Errors .= WAValidateUnique(("Garrincha"),$Garrincha,$database_Garrincha,"users","UserID","none,none,NULL","".((isset($_SESSION["SecurityAssist_UserID"]))?$_SESSION["SecurityAssist_UserID"]:"0") ."","UserEmail","',none,''","".((isset($_POST["User_Update_group_Email"]))?$_POST["User_Update_group_Email"]:"") ."",true,2);
$WAFV_Errors .= WAValidateRQ((isset($_POST["User_Update_group_Password"])?$_POST["User_Update_group_Password"]:"") . "",true,3);
$WAFV_Errors .= WAValidateEL((isset($_POST["User_Update_group_Password"])?$_POST["User_Update_group_Password"]:"") . "",6,500,true,4);
$WAFV_Errors .= WAValidateLE((isset($_POST["User_Update_group_Confirm"])?$_POST["User_Update_group_Confirm"]:"") . "",(isset($_POST["User_Update_group_Confirm"])?$_POST["User_Update_group_Confirm"]:"") . "",true,5);
$WAFV_Errors .= WAValidateRQ((isset($_POST["User_Update_group_First_Name"])?$_POST["User_Update_group_First_Name"]:"") . "",true,6);
$WAFV_Errors .= WAValidateRQ((isset($_POST["User_Update_group_Last_Name"])?$_POST["User_Update_group_Last_Name"]:"") . "",true,7);
$WAFV_Errors .= WAValidateRQ((isset($_POST["User_Update_group_Address"])?$_POST["User_Update_group_Address"]:"") . "",true,8);
$WAFV_Errors .= WAValidateRQ((isset($_POST["User_Update_group_City"])?$_POST["User_Update_group_City"]:"") . "",true,9);
$WAFV_Errors .= WAValidateRQ((isset($_POST["User_Update_group_State"])?$_POST["User_Update_group_State"]:"") . "",true,10);
$WAFV_Errors .= WAValidateRQ((isset($_POST["User_Update_group_10_Zip"])?$_POST["User_Update_group_10_Zip"]:"") . "",true,11);
$WAFV_Errors .= WAValidateRQ((isset($_POST["User_Update_group_11_Country"])?$_POST["User_Update_group_11_Country"]:"") . "",true,12);
$WAFV_Errors .= WAValidateRQ((isset($_POST["User_Update_group_1_Phone"])?$_POST["User_Update_group_1_Phone"]:"") . "",true,13);
if ($WAFV_Errors != "") {
PostResult($WAFV_Redirect,$WAFV_Errors,"usersupdate");
}
}
?>