liamoco Posted October 18, 2010 Share Posted October 18, 2010 What I want to do is quite difficult to explain so sorry for any confusion. Lets says I have two domains, abc.com and xyz.com. abc.com has and iframe tag that is showing content from xyz.com, in xyz.com how can display where the user is viewing the content from? (e.g. "you are viewing this content from abc.com") If you believe you can help but don't understand please say. Thanks Link to comment https://forums.phpfreaks.com/topic/216204-get-location-of-iframe-tag/ Share on other sites More sharing options...
liamoco Posted October 19, 2010 Author Share Posted October 19, 2010 after many many many hours of searching I have finally found a solution in PHP getenv("HTTP_REFERER"); Link to comment https://forums.phpfreaks.com/topic/216204-get-location-of-iframe-tag/#findComment-1123655 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.