all you should need to do is save the contactus.php file as:
contact/index.php
and save the thankyou.php file as:
thankyou/index.php
Then modify the line in the contact us page:
header("Location: thankyou.php");
to:
header("Location: thankyou/index.php");
your php server is useing PHP 5.3 which is why you got the deprecated function error. so you will need to make the edit sugested before.
where it is constantly validating the email address, it sounds like one ofthe form element names has been changed.
To troubleshoot, find the following line:
if ($WAFV_Errors != "") {
PostResult($WAFV_Redirect,$WAFV_Errors,"contact");
}
and change it to:
if ($WAFV_Errors != "") {
die($WAFV_Errors);
PostResult($WAFV_Redirect,$WAFV_Errors,"contact");
}
this will write a comma separated list of errors, post back the list of errors, a copy of the contact us page and a link to your site so I can examine the code to find the problem.