PHP code example of marcbp / captcha3d-php
1. Go to this page and download the library: Download marcbp/captcha3d-php 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/ */
marcbp / captcha3d-php example snippets
php
$captcha = new Captcha3D\Captcha('/path/to/captcha3d');
$captcha->setString('abc')
->setHeight(100)
->setFile(__DIR__ . '/captcha.png')
->run();