Source for file liveNumeral.php
Documentation is available at liveNumeral.php
require_once 'Text/CAPTCHA/Numeral.php';
if (isset ($_POST['captcha']) && isset ($_SESSION['answer'])) {
if ($_POST['captcha'] == $_SESSION['answer']) {
$errors[] = 'Ok.. YOu might be human..';
$errors[] = 'You are or not human or dumb';
foreach ($errors as $error) {
print " <h1><font color='red'>$error</font></h1><br />";
<form name="capter" action="'. $_SERVER['PHP_SELF']. '" method="post">
<th>What is this result pilgrim?: '. $numcap->getOperation (). '</th>
<td><input type="text" value="" name="captcha" /></td>
<td><input type="submit" value="Let me prove you that I am human!" /></td>
$_SESSION['answer'] = $numcap->getAnswer ();
Documentation generated on Mon, 11 Mar 2019 15:56:39 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|