Revision 596
Added by thorn almost 18 years ago
| signup2.php | ||
|---|---|---|
| 62 | 62 |
$email = $wb->add_slashes($email); |
| 63 | 63 |
|
| 64 | 64 |
// Captcha |
| 65 |
if(extension_loaded('gd') AND function_exists('imageCreateFromJpeg') AND CAPTCHA_VERIFICATION) { /* Make's sure GD library is installed */
|
|
| 65 |
if(ENABLED_CAPTCHA) {
|
|
| 66 | 66 |
if(isset($_POST['captcha']) AND $_POST['captcha'] != ''){
|
| 67 | 67 |
// Check for a mismatch |
| 68 | 68 |
if(!isset($_POST['captcha']) OR !isset($_SESSION['captcha']) OR $_POST['captcha'] != $_SESSION['captcha']) {
|
| ... | ... | |
| 138 | 138 |
} |
| 139 | 139 |
} |
| 140 | 140 |
|
| 141 |
?> |
|
| 141 |
?> |
|
Also available in: Unified diff
added new CAPTCHA and ASP (Advanced Spam Protection)