Limiting access to a specific page
Posted: Tue Nov 13, 2007 4:17 am
Hi,
I'm fairly new to PHP and was wondering what the best way (or if there even is one?) to limit the access to a specific page depending on the page that the person has come from? I've tried using the $HTTP_REFERER variable but have read that this is unreliable as it can be spoofed and that many browsers and firewalls bl;ock this information from being sent.
Any help would be appreciated greatly!
I'm fairly new to PHP and was wondering what the best way (or if there even is one?) to limit the access to a specific page depending on the page that the person has come from? I've tried using the $HTTP_REFERER variable but have read that this is unreliable as it can be spoofed and that many browsers and firewalls bl;ock this information from being sent.
Any help would be appreciated greatly!