From 3b2e04f16a595893e8736a9b816bad81ecc8bf6a Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Fri, 12 Mar 2010 21:46:15 -0500 Subject: Added working CAPTCHA After a little digging, it turned out that the reason that reCAPTCHA always failed was because the reCAPTCHA server was blocked to the server. This should've been obvious as the reCAPTCHA always worked on the development server. --- includes/securimage/example_form.php | 71 ++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 includes/securimage/example_form.php (limited to 'includes/securimage/example_form.php') diff --git a/includes/securimage/example_form.php b/includes/securimage/example_form.php new file mode 100644 index 0000000..952a24b --- /dev/null +++ b/includes/securimage/example_form.php @@ -0,0 +1,71 @@ + + * File: securimage.php
+ * URL: www.phpcaptcha.org + */ + + +session_start(); // Start the session where the code will be stored. + +?> + + + Securimage Test Form + + + + + +
+Username:
+
+Password:
+

+ +
+ + + + + + + + + + + + +
+ + + Reload Image +
+
+Code:
+ + +

+ + +
+ +check($_POST['code']); + + if($valid == true) { + echo "
Thanks, you entered the correct code.
Click here to go back.
"; + } else { + echo "
Sorry, the code you entered was invalid. Go back to try again.
"; + } +} + +?> + + + -- cgit 1.4.1