Re: Keep track of page-access [message #172943 is a reply to message #172930] |
Sat, 12 March 2011 18:36 |
Twayne
Messages: 135 Registered: September 2010
Karma:
|
Senior Member |
|
|
In news:ilf2n9$9fl$1(at)news(dot)albasani(dot)net,
sl@exabyte <ecp_gen(at)my-rialto(dot)com> typed:
::: But my choice would be a dozen lines of PHP and a MySQL
::: database table. For "just a counter" you could simply
::: increment a number (field) in a one-row table, or you
::: could add and store a new row for each page hit,
::: including further information such as visitor's IP
::: address, browser UA string, etc.
::
:: Thanks folks.
::
:: I have a better idea now: server log or PHP, AJAX not
:: necessary.
I've used PHP's simple counters and sessions to persist the data from page
to page and just increment the counter on each access. Works well IMO.
HTH,
Twayne`
|
|
|