coltrane Posted August 19, 2009 Share Posted August 19, 2009 i have 10 websites funneling in to one master site. I need to know which site has come to the main site. Whats a good way to ID each site so i can check it "at the door"..? Link to comment https://forums.phpfreaks.com/topic/171002-website-recognition/ Share on other sites More sharing options...
JonnoTheDev Posted August 19, 2009 Share Posted August 19, 2009 Check the referrer $_SERVER['HTTP_REFERER'] Give each site an id of your own $referer[1] = "abc.com"; $referer[2] = "def.com"; $referer[3] = "ghi.com"; Link to comment https://forums.phpfreaks.com/topic/171002-website-recognition/#findComment-901872 Share on other sites More sharing options...
coltrane Posted August 19, 2009 Author Share Posted August 19, 2009 Thanks!! Link to comment https://forums.phpfreaks.com/topic/171002-website-recognition/#findComment-901947 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.