This is just some simple code that helps to block 3rd party stat tracking when using a local network to access web pages. If you host your own website and use a 3rd party tracking company to track your visitors usage/system specs they most likely give you a piece of code to place within your HTML code. If you don't want that code to track your visits it is pretty easy to do...I wrote this with the idea that you are accessing the web page via a local network or via the server itself (like when viewing recent updates on local development servers). If you access the page from the LAN your usage is not tracked. If you access it via the Internet the tracker code works as usual. It is fairly basic and may need a modification or two depending on your networks IP configuration.
This is just a simple PHP IP blocker program that will log the IP address of anyone who accesses the page and the time the page was accessed and wont let them come back for a set time limit. You can set the time limit to whatever you want. This script will require that the log file have writable permissions.
This is just a simple PHP IP logging function which can be added to any already existing .php or .html file to log the date and time that the page was accessed and the IP address of the one who accessed it to a file on your server. This code checks to see if the logfile ends in either .html or .htm extensions as supposed to .txt or whatever so it can format the logfile correctly. The logFile must have writable permissions in order for the code to be able to write the data to it.
This PHP IP sniffer code will sniff your visitors IP address and system specs and e-mail the info to you without notifying your visitors. UPDATE: I added a time function to also display the time...the updates version can be found here.