How do you hide the clickbank ID with PHP script

Discussion in 'PHP' started by MikeBuyco, Feb 8, 2010.

  1. #1
    I wanted to learn how to create a PHP script that can hide hoplink of clickbank. Anyone know how to do this?
     
    MikeBuyco, Feb 8, 2010 IP
  2. krsix

    krsix Peon

    Messages:
    435
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I have absolutely no idea what clickbank is, but if you're trying to "hide" redirects, you could do something like

    Save this as anyname.php:
    
    <?php
    header('Location: http://affiliateprogramorsomething.clickbank.com/whatever');
    ?>
    
    PHP:
    and just link to that page
     
    krsix, Feb 9, 2010 IP
  3. lovingwings36

    lovingwings36 Peon

    Messages:
    88
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Make regular postback to your website or any special script on your server like link.php where by query string you post unifimiliar ID and your php scripts check for example in database hoplink accociated to this id and adds by php header( Location: ... for redirect.

    Like one of those:

    php . about. com/od/learnphp/ ht/ phpredirection. htm
     
    lovingwings36, Feb 19, 2010 IP