Skip to content

plbin97/Antiboter-PHP-HTML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Antiboter for php-html

Antiboter is a beautiful, easy, safety human-rebot php verification tool. The function is similar to reCAPTCHA

This is not based on any framework (such as jQure, react and bootstrap)

I purely use JavaScript and CSS3 to built the font-end

This product can work on both PC and Mobile device brower.

Demo

https://www.teenet.me/verification

Based on (Environment)

php 5 +

php-gd library

How to use

First, you need to download the files from recent release.

Second, copy the folder to your php web environment.

Third, according to the instraction in index.php, copy the code into your project

In your PHP back-end

In your back-end verification, please check Session variable: $_SESSION["anti_bot_verified"]

This variable is boolearn type. If the variable is false or the variable is not exited, the user has not verified yet (maybe this user is a robot)

If this variable is true, the user has verified

Example:

    
          session_start();
          if(isset($_SESSION["anti_bot_verified"])) {
              if($_SESSION["anti_bot_verified"]) {
                  echo "Verified";
              } else {
                  echo "Not verified";
              }
          }
    

About pictures

You can put your own verification picture into folder: anti-bot-verification/img/

The image files in that folder, the files name must be: 1.jpg, 2.jpg, 3.jpg and so on.

The image size must be width 300px and height 200px (300*200)

Be careful

Do not use any variable with name start by "anti_bot" or "anti-bot"

Things we are planing to do

Now, we are planing to build an AI to make the verification more safety.

About

A beautiful, nice, and safe human-robot verification for PHP, which is similar to reCAPTCHA.

Resources

License

Stars

Watchers

Forks

Packages

No packages published