You are here: Re: webpage hit counter in PHP « All PHP « IT news, forums, messages
Re: webpage hit counter in PHP

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация