Limiting access to a specific page

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!

Moderator: General Moderators

Post Reply
bmccon79
Forum Newbie
Posts: 4
Joined: Tue Nov 13, 2007 3:58 am

Limiting access to a specific page

Post by bmccon79 »

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!
Post Reply