Jump to content

PHP post


sphinx

Recommended Posts

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

 

Link to comment
https://forums.phpfreaks.com/topic/251399-php-post/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.