10/25/08
Date Posted: 10/25/08
Summary: PHP/Javascript -- store user's stats in a file
Wasn't sure whether to add this, because it is really just an amalgamation of older web design posts, but it is handy enough that I decided to post it anyway.
This script will store a user's IP address, screen resolution and the date visited into a text file. This is handy for finding out the most common resolutions and the number of people that visit your site and how often. I mostly used the script to create a program that will tailor the website layout of a site depending on the user's resolution.