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? 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. Link to comment https://forums.phpfreaks.com/topic/55393-get-refered-link/#findComment-274070 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.