GumSlone, please help me. I was studying your image counter script and made an environment image here.
I want to add more text under the browser description. How do I do it?
Here is the code:
<?php
$browser = explode ('/', $HTTP_USER_AGENT);
$im = @ImageCreate (45, 45)
or die;
$background_color = ImageColorAllocate ($im, 255, 0, 0);
$text_color = ImageColorAllocate ($im, 0, 255, 255);
ImageString ($im, 3, 4, 1, "$browser[0]", $text_color);
header('Content-Type: image/gif');
Imagegif ($im);
?>
Would you be willing to share your environment image script?