Simple example of logging / auditing user ip addresses in the db.

Home

Code


Accesses by ip:

38.107.191.116 Sun Mar 14 2010 09:57:31 GMT-0400 (EDT) CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
193.47.80.49 Fri Mar 12 2010 06:27:42 GMT-0500 (EST) Mozilla/5.0 (compatible; Exabot/3.0; +http://www.exabot.com/go/robot)
217.212.224.182 Thu Mar 11 2010 23:31:41 GMT-0500 (EST) psbot/0.1 (+http://www.picsearch.com/bot.html)
87.250.252.241 Sat Mar 06 2010 07:10:42 GMT-0500 (EST) Yandex/1.01.001 (compatible; Win16; I)
207.46.204.178 Sat Mar 06 2010 03:49:52 GMT-0500 (EST) msnbot/2.0b (+http://search.msn.com/msnbot.htm)
216.129.119.41 Thu Mar 04 2010 16:35:48 GMT-0500 (EST) Mozilla/5.0 (Twiceler-0.9 http://www.cuil.com/twiceler/robot.html)

Your ip is 38.107.191.116