Adding title, width & height and updating README

This commit is contained in:
Grégoire Passault
2011-08-26 08:59:29 +02:00
parent e9e2cf5179
commit 49cb96b534
3 changed files with 15 additions and 1 deletions

View File

@ -22,6 +22,7 @@ class CaptchaGenerator {
public function generate()
{
$i = imagecreatetruecolor(120,40);
$col = imagecolorallocate($i, mt_rand(0,110), mt_rand(0,110), mt_rand(0,110));
imagefill($i, 0, 0, 0xFFFFFF);