kevdotbadger Posted June 13, 2007 Share Posted June 13, 2007 Hello, im using Jquery to preform some AJAX calls. Now i know that not all people have javascript turned on. I need to know how to determine whether the page is being called directly (typing in the url), or indirectly (XMLHttpRequest). Is there any way of doing this? Quote Link to comment https://forums.phpfreaks.com/topic/55393-get-refered-link/ Share on other sites More sharing options...
Wildbug Posted June 13, 2007 Share Posted June 13, 2007 http://en.wikipedia.org/wiki/Referrer Do $_ENV["HTTP_REFERER"] or $_SERVER["HTTP_REFERER"] get set on AJAX calls? They won't if the value is entered by the user directly. Quote Link to comment https://forums.phpfreaks.com/topic/55393-get-refered-link/#findComment-274070 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.