You are here: Re: PHP counter for free « PHP Programming Language « IT news, forums, messages
Re: PHP counter for free

Posted by James Barrett on 10/04/07 11:39

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

shror wrote:
> I want to create a counter for free to my users, so that anybody could
> generate a small piece of code and add it to his website and by this
> way they run their own counters for free
> is there a simple way or a ready made php script that could do this.
>
> If anybody could tell me how to do it or the steps will be really
> appreciated.
>
> shror
>
I wrote a counter in php that counts unique ip addresses. Probably more
complicated that you are looking for, but still only a few lines of
code. You need a way to maintain persistent data on the server. The most
popular way to do that with php is to use a MySQL table.

Good luck,

Jim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHBNENQuDJiZ/QrH0RAmLjAJ9eNOvIcjq2VZx1CabNMe02smnP/ACfafYG
jENpBQoBQ0kfCqtkfe3dr4A=
=dn9k
-----END PGP SIGNATURE-----

 

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

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