help, put adbrite code in proxified page

Discussion in 'Pay Per Click Advertising' started by jeremynet, Nov 22, 2007.

  1. #1
    Where to insert adbrite code in proxified page?
    I try to the code in index.php but the proxified page is not working.
    where can get the procedure?
     
    jeremynet, Nov 22, 2007 IP
  2. Larry-2

    Larry-2 Guest

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I am also trying to find out which page to code for proxified pages, but knowbody has responded yet
     
    Larry-2, Nov 22, 2007 IP
  3. iNTaYkE

    iNTaYkE Active Member

    Messages:
    259
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    73
    #3
    What type of script are you using?
    Try doing this:
    1) Browse to a site using your proxy.
    2) Check the URL.
    It should be something like yourproxy.com/index.php?__new_url=awholebunchofrandomlettersandnumbers
    Basically, assume that the characters between ? and = is the GET variable.
    3) Open up your index.php
    4) Enter this code, making necessary changes.
    
    <?php
    if (isset($_GET['__new_url'])) { // Replace "__new_url" with whatever you found your GET variable to be.
    ?>
    <!-- REPLACE THIS LINE WITH THE ADVERTISEMENT CODE -->
    <?
    }
    ?>
    
    Code (markup):
    5) Save and upload to your server.

    I think that should work ;)
     
    iNTaYkE, Nov 22, 2007 IP
  4. jammu143

    jammu143 Banned

    Messages:
    167
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    thanks i was searching for too
     
    jammu143, Nov 22, 2007 IP
  5. jeremynet

    jeremynet Active Member

    Messages:
    1,189
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    93
    #5
    jeremynet, Nov 22, 2007 IP
  6. BigJonnyB

    BigJonnyB Peon

    Messages:
    325
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I take it you are following the guide here:

    http://www.freeproxytemplates.com/adversal-adbrite-proxy/

    Can you post the code that you have put in here so we can take a look? You need to make sure you remove these lines:

    var AdBrite_Title_Color = '0000FF';
    var AdBrite_Text_Color = ‘000000′;
    var AdBrite_Background_Color = ‘FFFFFF’;
    var AdBrite_Border_Color = ‘FFFFFF’;

    OR replace them with \ in it like this:

    var AdBrite_Title_Color = \'0000FF\';
    var AdBrite_Text_Color = \'000000\';
    var AdBrite_Background_Color = \'FFFFFF\';
    var AdBrite_Border_Color = \'FFFFFF\';

    Also remember that Adbrite will take a while to display any ads.

    Hope this is of some help.

    JB
     
    BigJonnyB, Nov 22, 2007 IP
  7. jeremynet

    jeremynet Active Member

    Messages:
    1,189
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    93
    #7
    Thanks! I have managed to do it!
     
    jeremynet, Nov 23, 2007 IP