PHP, logging function

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
bkamal
Forum Newbie
Posts: 1
Joined: Sun Nov 07, 2010 12:58 pm

PHP, logging function

Post by bkamal »

# 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
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: PHP, logging function

Post by requinix »

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?
Post Reply