Here's a simple example creating a PNG image:
First, download the browscap.ini for PHP users here
Copy the file to a directory (web server needs read access to that directory)
Then edit php.ini and change the browscap = .....
line so that it contains the full path to the browscap file.
Then restart the web server.
<?php
$objBrowser = get_browser();
//print_r($objBrowser);
//exit;
$platform = $objBrowser->platform;
$browser = $objBrowser->browser;
$version = $objBrowser->version;
$browser_string = "$browser, Ver. $version on $platform";
$ip = $_SERVER['REMOTE_ADDR'];
$remote_host = gethostbyaddr($ip);
$decid = urldecode($_REQUEST['id'].$_REQUEST['key']);
header("Content-type: image/png");
$img = imagecreatetruecolor(200, 44);
$white = imagecolorallocate($img, 255, 255, 255);
$grey = imagecolorallocate($img, 178, 178, 178);
imagefill($img, 0, 0, $grey);
imagestring($img, 3, 6, 3, $browser_string, $white);
imagestring($img, 3, 6, 15, "IP: $ip", $white);
imagestring($img, 3, 6, 27, "ISP: $remote_host", $white);
imagepng($img, '', 75);
imagedestroy($img);
?>
Browse the PHP manual a little bit to get an idea about how to do something like this using an existing image instead of creating an empty image.
Thomas