Skip to content

Commit 5498292

Browse files
authored
editing readme file
1 parent 34d127c commit 5498292

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,13 @@
1-
# phpcaptcha
1+
# php captcha class for security check for human usage
2+
# Usage :
3+
# Your Captcha image src should point to captcha.php
4+
5+
# Check :
6+
# compare your user input with $_SESSION['secret']
7+
8+
# Example check
9+
if(!empty($_POST['input']) && $_POST['input'] == $_SESSION['secret']){
10+
echo 'good';
11+
}else{
12+
echo 'wrong';
13+
}

0 commit comments

Comments
 (0)