<?
Header ('Content-type: image/png');
require_once("/membri/hotmailpower/gd/browser.php");
$br = new Browser;
$riga1 = $ind . 'Il tuo IP è ' . $_SERVER["REMOTE_ADDR"];
$riga2 = $ind . 'Il tuo ISP è ' . $hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']);
$riga3 = $ind . 'Stai usando ' . $br->Name . " " . $br->Version ;
$riga4 = $ind . 'Su un sistema ' . $br->Platform;
$font = "arial.ttf";
$ima = imagecreatefrompng("php.png");
$textcol = imagecolorallocate($ima,0,0,0);
list($larg, $altez, $uno, $due) = getimagesize("php.png");
imagettftext($ima,8,0,7,20,$textcol,$font, "$riga1");
imagettftext($ima,8,0,7,35,$textcol,$font, "$riga2");
imagettftext($ima,8,0,7,50,$textcol,$font, "$riga3");
imagepng($ima);
?>