Code Monkey home page Code Monkey logo

qcaptcha's Introduction

QCaptcha

QCaptcha Preview

A major barrier on the Internet for blind people are captchas, as they can neither copy writing from images or select certain images. In addition, most audio captchas are hardly understandable. QCaptcha therefore relies on answering simple questions so that blind people are not locked out.

Unlike other popular captcha solutions, such as Google reCAPTCHA, QCaptcha does not collect and send data to third parties. QCaptcha is fully hosted on your own server, giving you complete control over your users' data.

QCaptcha currently supports German, English and Dutch, but you can add your own language.

QCaptcha Preview

Installation

Requirements

  • PHP Version 7.1 or higher
  • PHP Extension SQLite3

Downloads can be found in the "Release" tab.

A WordPress plugin is also available: Learn More

Usage

First add the stylesheet to your page:

<link rel="stylesheet" href="[Path to your files]/qcaptcha/css/qcaptcha.min.css">

After this add the PHP-Library:

require_once "[Path to your files]/qcaptcha/QCaptcha.php";

Output the Captcha:

  $captcha = new QCaptcha();
  $captcha->build(); /*Outputs the captcha*/

Validate the captcha:

if($captcha->isValid()){ //Checks $_POST['captcha']
  //Captcha valid
} else {
  //Captcha invalid
}

Advanced

It is possible to add your own languages to the included database. Then you can simply add the language code to the array "qcaptcha_existing_languages".

Legal notices

The library must store cookies on the device of the user. An Eu directive requires users to be informed about cookies.

License

This library is under BSD 3-Clause License, have a look to the LICENSE file

qcaptcha's People

Contributors

timokoessler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

vulkjjc

qcaptcha's Issues

Mehrsprachigkeit & Safari

Hi Timo,

wir möchten gerne Dein Plugin auf unsere Seite einsetzen und haben ein kleineres Problem.

  1. Wir benutzen für die Mehrsprachigkeit "WPML & CF7" und würden gerne die Ausgabe auf Englisch (im Frontend) anbieten - wie ist das möglich?

Vielen Dank für Dein Feedback und Unterstützung.

Gruß Ulf

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.