|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Internet Security Discussion Forum This forum is for the discussion of security related issues. If you find a new Phishing scheme, spyware, virus or malicious site - let us know about it. If any of the above found you... here's where you ask for help. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Microsoft actually created a pretty interesting CAPTCHA alternative, in conjunction with petfinder.com. The system displays images of cats and dogs, and asks the user to select only the pictures of the cats. You can get more information here: MSR Asirra: A Human Interactive Proof
__________________
The best way to learn anything, is to question everything. |
|
|||
|
Quote:
Make sure you have sessions enabled. Code:
srand ((double) microtime( )*1000000); $_SESSION['human_check'] = rand(0,999); $question = ($_SESSION['human_check'] - 1); $question2 = "What is the next number after the number " . $question . "?"; Add the question to your form: Code:
<label /><?php echo $question2; ?> <input type="text" name="human_answer" size="3" maxlength="3" value="0" /> Code:
if($_SESSION['human_check'] == $_POST['human_answer']) {
$g = TRUE;
} else {
$g = FALSE;
$message[] = "You failed to enter the correct number into the number field.";
}
__________________
I use Country IP Blocks as added security for my networks and servers. Last edited by Tech Manager; 08-20-2008 at 12:17 PM. |
|
|||
|
Quote:
I don't mind at all.
__________________
I use Country IP Blocks as added security for my networks and servers. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Embedding a secure form into another HTML page | cimmeronstudios | Web Programming Discussion Forum | 6 | 05-14-2007 05:09 PM |
| Need to Build a Contact Form | brianzajac | Web Programming Discussion Forum | 0 | 06-05-2006 06:20 PM |
| Contact Form being Hi-jacked - HELP! | fisher318 | Internet Security Discussion Forum | 4 | 09-12-2005 03:14 PM |
| PHP - Problems with contact form | Biggles | Web Programming Discussion Forum | 9 | 01-24-2005 12:51 PM |
| Creating a Secure Login Script in PHP | z01d | Web Programming Discussion Forum | 9 | 07-01-2004 01:44 PM |
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |