Hi,
I’m not a programmer or coder toany extent and just trying to understand what this part of PHP code is doing and how to make it do what I want. My understanding is that the code will check “vercode” and see if it is empty or wrong value entry and then display “Incorrect verification code!” with a link “Click Here” to get back to the page.
What I want is that instead of displaying the “Incorrect verification code!” etc I want the code to take the user to “
I do not know what the “(“location:
[code]session_start();
if ($_POST[“vercode”] != $_SESSION[“vercode”] OR $_SESSION[“vercode”]==”) {
$var = “<br /><br /><br /><br /><center><font face=’tahoma, verdana, arial, helvetica’ color=’#333333′><h2>$site_Name”;
$var.= “</h2><p><font size=’2′ face=’Arial, Helvetica, sans-serif’ color=’#FF0000′><strong>Incorrect verification code!</strong><br /><br /></font><font size=’2′ face=’Arial, Helvetica, sans-serif’><a href=’javascript:history.back();’> Click Here</a> to try again.</font></p><br /></center>”;
echo $var;
exit;
header (“location:http://www.castironcookwaredepot.com/verification.html”);
Thanks & Regards
Learner