+ Reply to Thread
Results 1 to 2 of 2
BlackHat Scripts & Code Thread, Mask Affiliate link via PHP Jump Script - CPA in BlackHat SEO Forum; For those so inclined - this is an example of a php jump script that helps mask a url. You ...
  1. #1
    SpyBoy Guest

    Default Mask Affiliate link via PHP Jump Script - CPA

    For those so inclined - this is an example of a php jump script that helps mask a url. You would use this to prevent someone from mousing over a link (text or image via href) and typing the website address into the location bar bypassing your affiliate link.

    First make a demo webpage called "demo.html" under the root of your domain and embed the following code (change the domain name to YOUR domain):
    Code:
    <html>
    <body>
    Get Water Here!


    Good Air Info Here!


    Keyword Tool Here!
    </body>
    </html>

    NEXT make a php file called "go.php" also under the root of your domain:

    Place this code inside go.php:
    Code:
    <?php
    switch ($_GET['m']) {
    case "water":
    $link = "http://www.ozarkawater.com";
    break;
    case "air":
    $link = "http://en.wikipedia.org/wiki/Oxygen";
    break;
    case "tool":
    $link = "https://adwords.google.com/select/KeywordToolExternal";
    break;
    default:
    $link = "http://www.YourDomain.com/"; //**************change to your domain!!
    break;
    }
    header("Location: $link");
    exit();
    ?>

  2. #2
    qx3579 is offline BlackHat Novice
    Join Date
    Dec 2010
    Posts
    5

    Default

    Sorry but this isn't quite clear

+ Reply to Thread

Similar Threads

  1. Dumping Cookies Using more than one Affiliate Link
    By SpyBoy in forum Affiliate Networks
    Replies: 6
    Last Post: 01-14-2010, 08:11 AM
  2. Traffic Jump
    By SpyBoy in forum General Discussion
    Replies: 7
    Last Post: 11-23-2009, 03:40 PM
  3. Replies: 1
    Last Post: 11-11-2009, 06:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts