Ads not showing up

Discussion in 'Co-op Advertising Network' started by toddmc, Dec 17, 2004.

  1. #1
    I have installed the code on two different sites and the ads show up fine. Now on my third site playgroundmall.com I can't get the code to show up. Does my new account need to be activated?
     
    toddmc, Dec 17, 2004 IP
  2. Patient

    Patient Raider

    Messages:
    336
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    123
    #2
    Strange - I can't see the code in your page so if its there it must be being processed as php.

    What code do you have on your pages?
     
    Patient, Dec 17, 2004 IP
  3. toddmc

    toddmc Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    It's on this page: http://www.playgroundmall.com/resources/addlink.php I even went so far as to type "test" just above where the code should be to make sure I wasn't losing my mind or viewing a cached version. You can see "test" but when you view the source there's not code there...
     
    toddmc, Dec 17, 2004 IP
  4. toddmc

    toddmc Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Here's what I'm putting in my footer:

    test
    <?php
    ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    include ('ad_network.php');
    echo $ad_network[0];
    ?>
     
    toddmc, Dec 17, 2004 IP
  5. Patient

    Patient Raider

    Messages:
    336
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    123
    #5
    Well it must be processing the php then.

    Try adding:

    echo 'test<br>';

    to ad_network.php to see if its finding the file.
     
    Patient, Dec 17, 2004 IP
  6. toddmc

    toddmc Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I tried adding it here in the ad_network.php file:

    <?php
    echo 'test<br>';
    if (!function_exists('file_get_contents')) {
    function file_get_contents($url) {
    $handle = fopen($url, 'r');
    $string = fread($handle, 4096000);
    fclose($handle);
    return $string;
    }
    }
     
    toddmc, Dec 17, 2004 IP
  7. Patient

    Patient Raider

    Messages:
    336
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    123
    #7
    and what was the result?
     
    Patient, Dec 17, 2004 IP
  8. toddmc

    toddmc Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    nothing...so I put it in here: <?php
    ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    include ('ad_network.php');
    echo $ad_network[0];
    ?>

    and it showed test at the bottom....that's it. Weird...
     
    toddmc, Dec 17, 2004 IP