clipbucket/upload/captcha.php

12 lines
279 B
PHP
Raw Normal View History

2013-10-07 12:17:06 +00:00
<?php
// You must start sessions in the page you'll use the image validator!
session_start();
require "./includes/classes/captcha/class.img_validator.php";
$word = substr(md5(rand(100,999999)),6,6);
$img = new img_validator();
$img->generates_image($word,true);
?>