You are here: Re: keeping page count « All PHP « IT news, forums, messages
Re: keeping page count

Posted by Steve on 10/13/06 16:48

".:[ ikciu ]:." <no@mail.com> wrote in message
news:egoet3$fj1$1@news.dialog.net.pl...
| Hmm Steve <no.one@example.com> wrote:
| > hth...i didn't test any of the code. it is from my memory of what
| > i've done before. edit and syntax check as needed.
|
| if that site has many atricles (short articles) and so many visitors and
on
| this server everyone will use this script it could kill server :)


no, it wouldn't. each page simply inserts page, id, and date into a
pageTracking table. perhaps you mis-read the longer script as being part of
the include of each page. it is not. it is a stand-alone page...it is the
report one would pull up in order to look at your site tracking information.
and yes, something similar is in production on at least two of my previous
client's sites who get copious volumes of traffic. even the report in
generated in nano-seconds. the only time i had a problem with the report is
when one of the client's wanted to resolve the ip addresses in the report to
their dns name for security reporting...they also wanted the dns contact
records as well. THAT didn't fly when considering timeouts and the number of
ip's being resolve...but without resolving the ip's, the report is very
fast. i did get a solution for that client though and he got what he wanted
out of the report. ;^)

 

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

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