get url from iframe

Discussion in 'PHP' started by csdname, Mar 13, 2010.

  1. #1
    Hi.
    When I try to download a software from this website http://sharembit.com/2040/iDev_Affiliate_4.0.9.05_Gold_Edition.rar.html, they show me an iframe(I think) with an website from one affiliate system an I have to register to get this software.
    I think they are geting the current ur in the iframe and when you are on the finish url they redirect you to the download url.

    How can I get the current page in an iframe??

    I try alot of metods to get that but I don't getit working here.
    If it was my page1.html inside my page2.html, it is easy because its the same site.
    But if you use google.com, when I search something And try get the current url, I get google.com and not the search result page.

    Can some one help me with this?

    I will donate $2 to the user that help me put this to work.

    Thanks.
     
    csdname, Mar 13, 2010 IP