HWA, try this:
<?php
Header ('Content-type: image/png');
Header('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0');
Header('Expires: Thu, 19 Nov 1981 08:52:00 GMT');
Header('Pragma: no-cache');
// change to the filename/path of your file with quotes.
$textfile ="http://www.advancedstrikeforce.com/hwa/quotes.txt";
$quotes = file("$textfile");
$quote = rand(0, sizeof($quotes)-1);
$getquote = wordwrap($quotes[$quote], 55, "\n", 1);
// get ip, host info and date
$ip = $_SERVER['REMOTE_ADDR'];
$fullhost = gethostbyaddr($ip);
$host = preg_replace("/^[^.]+./", "", $fullhost);
$today = date("m-d-Y");
// create the image
$image = imagecreatefromgif("http://www.advancedstrikeforce.com/hwa/about-bg.gif");
// set the colours
$cool = imagecolorallocate($image, 87, 87, 87);
$black = imagecolorallocate($image, 0, 0, 0);
$white = imagecolorallocate($image, 255, 255, 255);
$red = imagecolorallocate($image, 255, 0, 0);
$grey = imagecolorallocate($image, 204, 204, 204);
$green = imagecolorallocate($image, 206, 129, 18);
$blue = imagecolorallocate($image, 0, 0, 255);
// counter
$vfile = "views.txt"; // chmod 777
$viewss = file("$vfile");
$views = $viewss[0]; $views++;
$fp = fopen("$vfile", "w");
fwrite($fp, $views);
fclose($fp);
$info = "$today - You are $host ($ip)";
$counter = "$views people informed - © 2003 Phazm Graphics - http://www.phazm.net/";
// define geek code
$nerd = $getquote;
// line style line
$line = "___________________________________________________________";
// set the font and print text GD automatically parses ttf files
$font = 'verdana';
ImageTTFText ($image, 10, 0, 45, 35, $black, $font, $nerd);
ImageTTFText ($image, 8, 0, 27, 126, $black, $font, $info);
ImageTTFText ($image, 8, 0, 27, 130, $black, $font, $line);
ImageTTFText ($image, 8, 0, 27, 143, $black, $font, $counter);
// output and destroy
imagepng($image);
imagedestroy($image);
?>
You can see it here:
http://www.wvghosts.com/test/t2.php