Reply to Re: Count visitors on my website

Your name:

Reply:


Posted by Michael Fesser on 07/16/07 03:35

..oO(noidtluom)

>Sorry if I have not read the whole topic and this hasn't been answered
>before, but here is my technique. It's rather a simple hack.
>On a page, I would simply register the IP address and the current time
>that the page was pinged in a mysql database.

Hrrmpf ... whenever you think it can't get worse, somebody comes along
and proves that you're wrong ... :(

Using the IP to "identify" a user is even more unreliable than anything
else (even session counting would get you closer to the reality). There
could be a hundred visitors on your site using the same IP (proxies) or
a single visitor using multiple different IPs (dialup, load balancers).
Back to rand() again.

OK, next try. Who wants? SCNR

>As for the HTTP stuff, I seriously don't think it is very related,
>this is a practical question, not theory.

Correct. And in practice it simply can't work.

Micha

[Back to original 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

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