Jump to content

sams1

New Members
  • Posts

    1
  • Joined

  • Last visited

sams1's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi, I am using the script as posted by xyph. One moment the script is working absolutely fine although after a few hours of being uploaded to my webserver, on submitting the form, it says "Math Captcha Incorrect" even though it isn't incorrect. Can anyone explain why this might be occuring? I did have to modify the code slightly so that it follows through with my PHP form submission setup. The only way to get it working properly again is to delete the files from the webserver and reupload them. This is obviously causing users an inconvenience when they submit data through one of the forms, not just myself! <?php session_start(); if (!isset($_SESSION['answer']) || $_SESSION['answer'] != $_POST['answer'] ) { exit("<b><center>Math Captcha Incorrect. Please <a href='Javascript:history.go(-1)'>Go Back</a> and try again</center></b>"); } if (!$_POST['email']) { exit("<b><center>You did not supply an E-Mail address. We need this to reply to your E-Mails.<br /><br /><a href='Javascript:history.go(-1)'> < Go Back</a></center></b>"); } Thanks in advance!
×
×
  • 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.