i have installed a image counter script but i cant find the topic sub made that shows how to put more details on to a counter image.
<?
///////////////////////////////////////////////
switch($img) {
case 'mini':
$im = @imagecreate(70, 14);
$background_color = imagecolorallocate($im, 0, 0, 0);
$text_color = imagecolorallocate($im, 255, 255, 255);
ImageString($im, 1, 3, 3, "+$count", $text_color);
ImageString($im, 1, 49, 3, "+$count", $text_color);
header("Content-type: image/png");
ImagePNG($im);
break;
default:
$im = ImageCreateFromGIF('counter.gif');
$chartreuse = ImageColorAllocate($im,127,255,0);
/*ImageString($im,1,$hpos,9,$chost,$chartreuse);*/
ImageString($im,1,$pos,14,$count,$chartreuse);
ImageString($im,1,$pos_all,21,$count_all,$chartreuse);header("Content-type: image/png");
ImagePNG($im);
break;
}
}
else
{
print "ID = ???";
}
?>
here is part of that counter script. i want to know how do one insert more txt lines to show on the counter image my site url ??
= = = = = The more you laugh...the longer you live. Read more jokes at http://fun-files.co.cc