raypierang Posted January 5, 2013 Share Posted January 5, 2013 I have secured a page within my web site with a login page, however, it is still possible to get to the page bt entering the page address into a browser. I would like to determine if the request for the page originated from within my site. Is that possible? Ray Link to comment Share on other sites More sharing options...
HartleySan Posted January 6, 2013 Share Posted January 6, 2013 I'm a little confused by your question, but I can state the following: 1) If the entered URL is related to your domain, then you could potentially get ahold of the URL with a custom script. 2) If the entered URL is related to another domain that you have no control over, then there's nothing you can do. I'm not sure if that helps or not though. Please let us know. Link to comment Share on other sites More sharing options...
Larry Posted January 7, 2013 Share Posted January 7, 2013 One of the $_SERVER values stores this (in PHP). Perhaps $_SERVER['REFERRAL_URL']. Check the PHP documentation. Link to comment Share on other sites More sharing options...
Recommended Posts