carmichael1973
07-19-2008, 10:00 PM
First, this is public code that can be found anywhere on the net. Do with it as you want! If it has already been posted somewhere, forgive the duplication.
I use this code to add a little extra protection and logging awareness to my board users. Maybe others will find it useful
*This simple ip address logging script will display your visitor's ip address and then record it into the text file iplog.txt
This logger is designed to only log a single? important webpage on your website such as the log-in, index or submit page.
To install paste the logger's script into your webpage's html code exactly where you wish the visitor's ip address to display.
Upon the webpage's first pageload the text file iplog.txt will be created within the directory containing the logged webpage.
?Multiple webpages may be logged if each webpage's logger script is given an unique log file name e.g. iplog1.txt, iplog2.txt, etc.
CAUTION: Log files can grow excessive in size slowing your server so please download then delete large log files from the server.
The code is located in the attached file along with simple instructions. It's very easy to use and is NOT supported.
I use this code to add a little extra protection and logging awareness to my board users. Maybe others will find it useful
*This simple ip address logging script will display your visitor's ip address and then record it into the text file iplog.txt
This logger is designed to only log a single? important webpage on your website such as the log-in, index or submit page.
To install paste the logger's script into your webpage's html code exactly where you wish the visitor's ip address to display.
Upon the webpage's first pageload the text file iplog.txt will be created within the directory containing the logged webpage.
?Multiple webpages may be logged if each webpage's logger script is given an unique log file name e.g. iplog1.txt, iplog2.txt, etc.
CAUTION: Log files can grow excessive in size slowing your server so please download then delete large log files from the server.
The code is located in the attached file along with simple instructions. It's very easy to use and is NOT supported.