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

[GET] Adfly locker - Lock your content with Adfly

Discussion in 'Cloaking and Content Generators' started by Schvamp, Feb 15, 2013.

  1. Schvamp

    Schvamp Power Member

    Joined:
    Feb 13, 2012
    Messages:
    684
    Likes Received:
    549
    Location:
    Hogwarts
    I have never used adfly myself but here is a very basic script on how to lock your content with a adfly link.

    1) Copy the script and save it as something.php - Let's say your URL now is http://example.com/something.php
    2) Go to adfly and get a adfly link to http://example.com/something.php
    3) Update the file and replace " http://******/xxxx " with your adfly link and " http://finalpage.com " with your locked page

    a) If a user visits http://example.com/something.php they'll be redirected to your adfly
    b) If the visitor comes from adfly to http://example.com/something.php they'll be redirected to http://finalpage.com

    Code:
    <?
    $your_adfly = "http://******/xxxx"; // Your adfly link that points to this file
    $to = "http://finalpage.com"; // Send visitor to your site
    
    $referer = $_SERVER['HTTP_REFERER'];
    if ( $referer == $your_adfly ){
        echo '<META HTTP-EQUIV="Refresh" CONTENT="0; URL='.$to.'" />';
    }else{
        echo '<META HTTP-EQUIV="Refresh" CONTENT="0; URL='.$your_adfly.'" />';
    }
    //By the awesome Schvamp @BHW
    ?> 
    
    As I said, I've never used adfly myself and this might get you banned. Dont know how the ToS looks like.
     
  2. Ambassy

    Ambassy BANNED BANNED

    Joined:
    Apr 13, 2011
    Messages:
    642
    Likes Received:
    163
    I'm pretty sure ****** has something similar built in already although I've never really used them as a publisher.
     
  3. J100D

    J100D Newbie

    Joined:
    Oct 14, 2013
    Messages:
    28
    Likes Received:
    7
    Can't you just use a sub domain and have your own custom domain?

    hxxp://adf,ly/publisher/tools#tools-domains