techman41973 Posted September 1, 2013 Share Posted September 1, 2013 I have a PHPBB based forum where I'd like to automatically generate a log file with some site statistics.every time there is a hit on a topic page (which runs a file named viewtopic.php), I want to generate a new line in this log file with the following info Date/Time, IP address, topic url For the sake of example, let's asume the variable names for these items are date_time, ip_address and topic_urlThis seems simple enough but I'm still new with PHP, I would appreciate some direction. ThanksThanks Quote Link to comment Share on other sites More sharing options...
Psycho Posted September 1, 2013 Share Posted September 1, 2013 No need to rebuild the wheel: http://codefury.net/2008/07/klogger-a-simple-logging-class-for-php/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.