Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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:-

captcha
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
}