first, make sure no php error are occurring, add the following code at line 1 to turn error reporting on:
<?php
error_reporting(A_LL);
ini_set('display_errors','on');
?>
next, make sure no validation errors are occurring, change the following code:
if ($WAFV_Errors != "") {
PostResult($WAFV_Redirect,$WAFV_Errors,"registrationform");
}
to:
if ($WAFV_Errors != "") {
die($WAFV_Errors."<br><br><br><br>".var_dump($_POST)."<br><br><br><br>'.var_dump($_SESSION));
PostResult($WAFV_Redirect,$WAFV_Errors,"registrationform");
}
post back the results of trying to submit the form with those changes.