I am not using this for any security measures and am aware of the risks involved. I am only using the script to get a rough idea of where people who come to a site (low hit count) are entering from. I view the file every once and awhile.
I was also testing the concept of a web bug. Those annoying pixel sized images that some companies are using to get data on a user. The concept is very simple and my script helped me learn how it is done.
Thanks for the help and concern for others privacy.