[nflug] Logging IP Address to Database

Robert Wolfe robert at muzzlethem.com
Sat Aug 23 00:20:19 EDT 2008


Hi all!

I am working on a website for a client that I will be using a MySQL database
as an authentication and data storage backend.
What I want to do is once a user clicks on the "Send" button to send their
login credentials, I want it to log the IP that they are connecting from to
the MySQL database entry that has their information in it.  My question is
is how do I do this?  Browser and OS information would be cool to log, too,
for statistical purposes.

TIA for any help anyone can give!

Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.nflug.org/pipermail/nflug/attachments/20080824/158c69e4/attachment.html


More information about the nflug mailing list