| 1 |
<?php |
| 2 |
/* |
| 3 |
Custom Contact Forms Plugin |
| 4 |
By Taylor Lovett - http://www.taylorlovett.com |
| 5 |
Plugin URL: http://www.taylorlovett.com/wordpress-plugins |
| 6 |
*/ |
| 7 |
header("Content-type: image/png"); |
| 8 |
require_once('custom-contact-forms-images.php'); |
| 9 |
$image = new CustomContactFormsImages(); |
| 10 |
$str = rand(10000, 99999); |
| 11 |
if (!session_id()) |
| 12 |
session_start(); |
| 13 |
$_SESSION[captcha] = $str; |
| 14 |
$image->createImageWithText($str); |
| 15 |
|
| 16 |
?> |
| 17 |
|