summaryrefslogtreecommitdiff
path: root/vendor/gregwar/captcha/demo/output.php
blob: 2a4f3303695d0bec250d967b52e1763b2fcb3cb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

include(__DIR__.'/../CaptchaBuilderInterface.php');
include(__DIR__.'/../PhraseBuilderInterface.php');
include(__DIR__.'/../CaptchaBuilder.php');
include(__DIR__.'/../PhraseBuilder.php');

use Gregwar\Captcha\CaptchaBuilder;

header('Content-type: image/jpeg');

CaptchaBuilder::create()
    ->build()
    ->output()
;