I have an existing PHP MYSQL login system for a site. I want to record the history of every user login including failed attempts.
I want to capture the following data on the history:
- username used
- Time logged in
- Date logged in
- Successful - (answerable by yes or no)
How can I do this without changing my entire existing login system?