View Single Post
Old 03-16-2006, 08:52 AM  
Theo
HAL 9000
 
Industry Role:
Join Date: May 2001
Posts: 34,515
Quote:
Originally Posted by shuki
Great looking clean site with a useful service.

Perfect

PHP Code:
<?php
$img_number 
imagecreate(275,25);
$backcolor imagecolorallocate($img_number,102,102,153);
$textcolor imagecolorallocate($img_number,255,255,255);

imagefill($img_number,0,0,$backcolor);
$number " Your IP is $_SERVER[REMOTE_ADDR]";

Imagestring($img_number,10,5,5,$number,$textcolor);

header("Content-type: image/jpeg");
imagejpeg($img_number);
?>
Theo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote