Stats Tracking

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
$var
Forum Contributor
Posts: 317
Joined: Thu Aug 18, 2005 8:30 pm
Location: Toronto

Stats Tracking

Post by $var »

Does anyone know of a good place to start learning about stats tracking?

In particular,
I want to be able to show who was the last logged in member to edit the database.

But in general, a good page for tracking users would be cool... if anyone happens to know.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

create a logging class or set of functions, toss a line in the log on every successful login... :?
User avatar
Todd_Z
Forum Regular
Posts: 708
Joined: Thu Nov 25, 2004 9:53 pm
Location: U Michigan

Post by Todd_Z »

Have a login class, within that class, every successful login, put it in a file [or db] every failed attempt, have it logged as well [maybe with an ip address] for blocking purposes.
Post Reply