Jump to content

generate a log file with site statistics


techman41973

Recommended Posts

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_url
This seems simple enough but I'm still new with PHP, I would appreciate some direction. Thanks

Thanks
 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.