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 Quote 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"); Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.