Posted by Krustov on 01/24/08 15:15
<comp.lang.php>
<>
<Wed, 23 Jan 2008 19:26:25 -0800>
<381gp3phemjhh85khvpkc0p9q9b901qu7o@4ax.com>
> >http://www.developingwebs.net/phpclass/hitcounter.php
>
> That works. But can anyone recommend a professional looking hit
> counter which outputs a graphic file, instead of simply text?
>
I havent looked at the above but assume its a text hit counter .
But to produce a graphic file hit counter then all you really need is 10
gif or jpg images that are numbered 0 1 2 3 4 5 6 7 8 9 .
- grab the text count
- create a background image (or load a image you done earlier)
- paste each 0-9 image onto the background image
You will then have a graphic file hit counter image that you can display
instead of a plain text counter .
Roughly speaking , The same php/gd skills used to create a image code
are used to create a hit counter graphic file .
Navigation:
[Reply to this message]
|