Revision 596
Added by thorn almost 18 years ago
| signup.php | ||
|---|---|---|
| 35 | 35 |
} |
| 36 | 36 |
} |
| 37 | 37 |
|
| 38 |
if(ENABLED_ASP && isset($_POST['username']) && ( // form faked? Check the honeypot-fields. |
|
| 39 |
(!isset($_POST['submitted_when']) OR !isset($_SESSION['submitted_when'])) OR |
|
| 40 |
($_POST['submitted_when'] != $_SESSION['submitted_when']) OR |
|
| 41 |
(!isset($_POST['email-address']) OR $_POST['email-address']) OR |
|
| 42 |
(!isset($_POST['name']) OR $_POST['name']) OR |
|
| 43 |
(!isset($_POST['full_name']) OR $_POST['full_name']) |
|
| 44 |
)) {
|
|
| 45 |
exit(header("Location: ".WB_URL.PAGES_DIRECTORY.""));
|
|
| 46 |
} |
|
| 47 |
|
|
| 38 | 48 |
// Load the language file |
| 39 | 49 |
if(!file_exists(WB_PATH.'/languages/'.DEFAULT_LANGUAGE.'.php')) {
|
| 40 | 50 |
exit('Error loading language file '.DEFAULT_LANGUAGE.', please check configuration');
|
Also available in: Unified diff
added new CAPTCHA and ASP (Advanced Spam Protection)