Jump to content

captcha validation fails


believeinsharing

Recommended Posts

I set a session with the captcha value sha1 'pass_phrase' then

 

 

// $_POST user_phrase from captcha

if (isset($_POST['image'])) {

$user_pass_phrase = sha1($_POST['image']);

}

 

then

 

if ($_SESSION['pass_phrase']  == $user_pass_phrase)

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.