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 Link to comment https://forums.phpfreaks.com/topic/281740-generate-a-log-file-with-site-statistics/ 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/ Link to comment https://forums.phpfreaks.com/topic/281740-generate-a-log-file-with-site-statistics/#findComment-1447614 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.