Revision 250
Added by ryan almost 19 years ago
view.php | ||
---|---|---|
269 | 269 |
if(extension_loaded('gd') AND function_exists('imageCreateFromJpeg')) { /* Make's sure GD library is installed */ |
270 | 270 |
if(isset($_POST['captcha']) AND $_POST['captcha'] != ''){ |
271 | 271 |
// Check for a mismatch |
272 |
if(!isset($_POST['captcha']) OR !isset($_SESSION['captcha']) OR !$_POST['captcha'] == $_SESSION['captcha']) {
|
|
272 |
if(!isset($_POST['captcha']) OR !isset($_SESSION['captcha']) OR $_POST['captcha'] != $_SESSION['captcha']) {
|
|
273 | 273 |
$captcha_error = $MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA']; |
274 | 274 |
} |
275 | 275 |
} else { |
Also available in: Unified diff
Added Captcha to News module