sphinx Posted November 18, 2011 Share Posted November 18, 2011 Hello, Usually on my contact form I have: <form method='post' name="inputArea" action='process.php'> But i'm now using PHP captcha where it checks captcha in the index: if(isset($_POST["captcha"])) if($_SESSION["captcha"]==$_POST["captcha"]) { echo $_POST['process.php']; } else { echo 'CAPTCHA is not valid; ignore submission'; } ?> I've tried the above to submit the form, however, it's not doing anything, I needed the code to transfer the data to process.php as the first code supplied. Many thank Quote Link to comment Share on other sites More sharing options...
ZulfadlyAshBurn Posted November 18, 2011 Share Posted November 18, 2011 change this echo $_POST['process.php']; to this require('process.php'); Quote Link to comment Share on other sites More sharing options...
ZulfadlyAshBurn Posted November 18, 2011 Share Posted November 18, 2011 what is your form code? the full one. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.