Просмотр файла antispam.php

Размер файла: 382B
<?php
if (!$image = @imagecreatefromgif('image.gif'))
{
$image = imagecreate(88, 31);
$backgroundcolor = imagecolorallocate($image, 0, 0, 0);
imagefill($image, 0, 0, $backgroundcolor);
}
$fontcolor = imagecolorallocate($image, 255, 255, 255);
$text = "$_GET[text]";
imagestring($image, 5, 7, 7, $text, $fontcolor);
header("Content-type: image/gif");
imagegif($image);
?>