PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
First of all you should read this from the manual:
'HTTP_REFERER'
The address of the page (if any) which referred the user agent to the current page. This is set by the user agent. Not all user agents will set this, and some provide the ability to modify HTTP_REFERER as a feature. In short, it cannot really be trusted.
True, anything that works the same way and saves keystrokes is a GOOD thing! I just upgraded to a newer than 4.1 version of PHP and REALLY need to get used to the shorter names of the super globals hehe...