Quote:
Originally Posted by redwhiteandblue
What's in code.php?
|
Below is the whole code in that code.php file:
<?php
include("functions.inc.php");
$code = makeStr($_GET['code']);
header("Content-type: image/png");
$im = @imagecreate(75, 30)
or die("Cannot Initialize new GD image stream");
$background_color = imagecolorallocate($im, 0, 0, 0);
$text_color = imagecolorallocate($im, 255, 255, 255);
imagestring($im, 7, 10, 7, $code, $text_color);
imagepng($im);
imagedestroy($im);
?>