PHP code example of windwork / captcha
1. Go to this page and download the library: Download windwork/captcha library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
windwork / captcha example snippets
use wf\captcha\Captcha;
->setLevel(Captcha::LEVEL_HEIGHT);
$capt->create();
// set to session
//session_start();
//$_SESSION['phrase'] = $capt->getPhrase();
$capt->output(90);
//echo $capt->get();