FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Keep track of page-access
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Keep track of page-access [message #172889 is a reply to message #172887] Fri, 11 March 2011 21:36 Go to previous messageGo to previous message
sl@exabyte is currently offline  sl@exabyte
Messages: 16
Registered: March 2011
Karma:
Junior Member
Beauregard T. Shagnasty wrote:
> sl@exabyte wrote:
>
>> After some searching I intend to use AJAX and PHP to keep track of
>> the number of times an HTML file (just a single file) has been
>> accessed.
>
> AJAX not necessary. Just use a bit of PHP in the file to do something
> simple like update a database .. a counter.
>
> Or as Doug says, look at your server logs.

I suppose for PHP alone, the HTML file must end with ".php" extension.

For server logs alone, would it a problem if I need to keep the counter
over, say, a few years. I hope not to clear the log every month.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Ritual Abuse
Next Topic: Backslash before function name in PHP
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 10 16:52:23 GMT 2024

Total time taken to generate the page: 0.04969 seconds