Reputation: 81
I have the following function used to track users page visits and ips:
function log_good_ip($user, $ip, $web, $browser) {
$file = 'logs/ip_good.txt';
What I would like is for each user to have their own text file where their email is on the files name, for example the user logged on is abc123, this will save as ip_good.abc123.txt.
Thanks!
Upvotes: 0
Views: 36