codesucker.blogspot.com — Useful article explaining how to use the PHP server variable to record the referring link your visitor used to get to your site and which page your visitor is currently on. There is also a quick tutorial to set up a very minimal database for recording this information on your site.
original link