getnamingo-registry/rdap/client/captcha.php
Pinga 040428bdab Fixed #28
And also some small documentation fixes.
2023-12-24 11:36:19 +02:00

13 lines
No EOL
245 B
PHP

<?php
session_start();
use Gregwar\Captcha\CaptchaBuilder;
require 'vendor/autoload.php';
$captcha = new CaptchaBuilder;
$captcha->build();
$_SESSION['captcha'] = $captcha->getPhrase();
header('Content-type: image/jpeg');
$captcha->output();