Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/litto/captcha
Simple Captcha for PHP website
https://github.com/litto/captcha
Last synced: about 2 months ago
JSON representation
Simple Captcha for PHP website
- Host: GitHub
- URL: https://github.com/litto/captcha
- Owner: litto
- Created: 2022-02-07T06:54:03.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-07T07:16:39.000Z (almost 3 years ago)
- Last Synced: 2024-05-07T01:01:23.153Z (8 months ago)
- Language: PHP
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Captcha
Simple Captcha for PHP website## How to Install?
You can Install it via composer by typing:-composer require litto/captcha:v2.0
## How it works?
In the form just add:-
Enter Code
In the form submission function, just do like this:-session_start();
$text=$_SESSION["vercode"] ;
unset($_SESSION["vercode"]);
$captcha = $_POST['txtCode'];
if($captcha==$text)
{
// Save Function
}else{
//captcha Validation Error
}