<?php
header ("Content-type: image/gif");
$image=imagecreatefromgif("toonboard.gif");
$black = imagecolorallocate($image, 0,0,0);
$ip_address = $_SERVER['REMOTE_ADDR'];
$message = "Your IP is:";
imagestring($image, 4, 25, 10, $message, $black);
imagestring($image, 4, 20, 27, $ip_address, $black);
imagegif($image);
imagedestroy($image);
?>
<?php
header ("Content-type: image/gif");
$image=imagecreatefromgif("toonboard.gif");
$black = imagecolorallocate($image, 0,0,0);
$ip_address = $_SERVER['REMOTE_ADDR'];
$message = "Your IP is:";
imagestring($image, 4, 25, 10, $message, $black);
imagestring($image, 4, 20, 27, $ip_address, $black);
imagegif($image);
imagedestroy($image);
?>