Yes, but you have to make it work with your current system. There won't be a pre-made script for your user auth system. Gotta be a custom job.
Or do you just want to display something like:
80.156.15.46 - viewing index
That's exatly what I want
Quote:
Originally Posted by nico_swd
Yes, but you have to make it work with your current system. There won't be a pre-made script for your user auth system. Gotta be a custom job.
Or do you just want to display something like:
I wrote qucik a crappy skipt. Since I suck at MySQL is the data stored in temporary txt files.
include this into every page:
PHP Code:
<?php
$user = $_SERVER['REMOTE_ADDR']; // Get IP
$current_location = $_SERVER['PHP_SELF']; // Get location
$date = date("His"); // Time
$userlogfile = "path/to/your/logs/$user.viewing.txt"; // Path or URL to the logfiles