# Logging function
* Every time a user attempts to login to your site, you will capture their attempted Login and Password, along with other information about them.
Things to log:
o REMOTE_ADDR (that's the user's IP address), HTTP_HOST, Date, Time, Attempted UserID, HTTP_USER_AGENT, and whether the login attempt was successful
PLEASE help me with this script
PHP, logging function
Moderator: General Moderators
Re: PHP, logging function
Have you tried to help yourself first? Have you tried to figure out what you need to do by yourself first? Have you tried writing any code by yourself right?