1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Seting up DMR and iframe (problems)

Discussion in 'Making Money' started by D3lux3, Sep 15, 2009.

  1. D3lux3

    D3lux3 Power Member

    Joined:
    Aug 22, 2009
    Messages:
    523
    Likes Received:
    189
    Hi to all this is I think my first thread, like someone care lol :)

    Ok I dont see a reason why would I make an iframe if I used DMR already ? Maybe because link of the right link of the affiliate page will not show up and page will show as ourdomain.com ?

    Ok I seted up DMR like this:

    I have index.php on my domain:


    Code:
    <?php
    
            echo "<meta http-equiv=\"refresh\" content=\"0;url=http:/mydomain/offer.php\">";
    
    ?>
    And then I have offer.php which looks like this:

    Code:
    <?php
    
        $referer = $_SERVER['HTTP_REFERER'];
    
        if($referer == "")
    
        {
    
            echo "<meta http-equiv=\"refresh\" content=\"0;url=http://www.myaffiliatelink\">";    
    
        }
    
    ?>
    And I think this is working great. But I then founded out that it doesnt work on chrome, opera so I made offer.php like this:

    Code:
    <?php
    $mysite = "http://just-some-page-related-to-my-cpa-offer.com/";
    $afflink = "http://affiliate-link-hiden-with-referer.us";
    
    
    $referer = $_SERVER['HTTP_REFERER'];
    if($referer == "")
        {
    echo "<meta http-equiv=\"refresh\" content=\"0;url=".$afflink."\">";    
        }
    else
        {
    echo "<meta http-equiv=\"refresh\" content=\"0;url=".$mysite."\">";    
        }
    ?>
    
    So I want to know if this works as DMR and what will be shown to my CPA network if I use this method ?

    Ok back to iframe. Even tho. I dont understand why would I use it I tried to set it up so I more or less figured it out and I made something like this:

    I downloaded this cakeslice tool and put the hxxp://mydomain.com url in there and try to slice the page but I just didnt manage to do that since its on the middle and you must scroll down to view the whole page. The next problem is background + the page if its on the middle my iframe would be on the left ... I mean real pain in the ass so I started to ask my self if this is really importmant all I do with this is hide the "real" address of my affiliate page. And the next thing if we leave all the problems with Iframe behind us is where to put the code of iframe so I made an offer2.php put the code in it upload it to mydomain.com and change the affiliate link in offer.php to offer2.php.

    Ok now you will think I have quite a few issues with this DMR and iframe but one good explination would solve all the problems :)

    Ok and please dont say to me I should use a search because I did and I found lot of usefull info which I tryed and used but in honestly 2 hours of looking through searches didnt find what would help me or answered my question ...

    Maybe someone can help me through IM or something ...