jaymc Posted August 24, 2006 Share Posted August 24, 2006 Im just wonderin if its possible to retrieve the URL oh the parent page a frame is placed inPARENT WEBPAGE (www.site.com)|||Within that page is an iframe displaying a website from (www.webby.com)Would it be possible to place some code in (www.webby.com) so that it could retrieve the parent and in turn output www.site.comI'll tell you why I want to know this if you can give me the answerRegards. Quote Link to comment https://forums.phpfreaks.com/topic/18581-just-a-quick-question/ Share on other sites More sharing options...
AndyB Posted August 24, 2006 Share Posted August 24, 2006 [quote author=jaymc link=topic=105529.msg421582#msg421582 date=1156451720]I'll tell you why I want to know this if you can give me the answer[/quote]I can give you the answer, so tell me why you want to know. Quote Link to comment https://forums.phpfreaks.com/topic/18581-just-a-quick-question/#findComment-80097 Share on other sites More sharing options...
jaymc Posted August 25, 2006 Author Share Posted August 25, 2006 Good reply, lol !Ok, I want to develop a system to cater for PAY PER CLICK addsYou are not allowed to 'ask' people to click on them, so obviously having next to the advert 'Please click this' wont wash with the add companyBut, what they dont know want hurt them! So i want to put the add in an iframe and have the 'Please click this' text next to it.To the add company it will just appear as they have clicked from within the page the adds are located.But I think they may be able to detect if its in an iframe and reveal the page of which the iframe is sittin in, thus being able to see my 'Please click here' text... thats why Im asking... Quote Link to comment https://forums.phpfreaks.com/topic/18581-just-a-quick-question/#findComment-80155 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.