# custom-contact-forms/1.2.0/image.php

Custom Contact Forms, version 1.2.0. 16 lines.

- Page: https://pluginprobe.com/plugins/custom-contact-forms/1.2.0/code/image.php
- Raw: https://pluginprobe.com/plugins/custom-contact-forms/1.2.0/raw/image.php
- Modified: 2010-08-01T06:37:56+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/custom-contact-forms/1.2.0/code/image.php#L10-L20`.

```php
<?php
/*
	Custom Contact Forms Plugin
	By Taylor Lovett - http://www.taylorlovett.com
	Plugin URL: http://www.taylorlovett.com/wordpress-plugins
*/
header("Content-type: image/png");
require_once('custom-contact-forms-images.php');
$image = new CustomContactFormsImages();
$str = rand(10000, 99999);
if (!session_id())
	session_start();
$_SESSION[captcha] = $str;
$image->createImageWithText($str);
?>

```
