Validation and inserting the code

Discussion in 'Co-op Advertising Network' started by marod0er, Dec 14, 2004.

  1. #1
    I just signed up for the ad network, and I followed the tutorial here: http://www.digitalpoint.com/tools/ad-network/setup.php?type=99

    I'm using templates on my site, but the site IS build with PHP, so I've inserted the "shtml"-based code... - the
    <!--#include virtual="/ad_network.php" -->
    Code (markup):
    I've just tried entering my site, but I don't see any textlinks (they should be at the bottom). I'm not quite sure on how to validate my site either... Could someone please help me? I'm new to this...

    Thanks, and btw the site is www.funnypictures.dk

    Lasse
     
    marod0er, Dec 14, 2004 IP
  2. a389951l

    a389951l Must Create More Content

    Messages:
    1,885
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    140
    #2
    You need to insert the code as follows:

    <?php
    ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    include ('ad_network.php');
    echo $ad_network[0];
    ?>

    You index page is in php NOT shtml.
     
    a389951l, Dec 14, 2004 IP
  3. marod0er

    marod0er Active Member

    Messages:
    41
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    93
    #3
    Can it be true that only 1 textlink is beeing displayed?
     
    marod0er, Dec 15, 2004 IP
  4. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #4
    With that code, yes. See all threads and instruction named 'more ads or 5 ads' to get more ads.
     
    T0PS3O, Dec 15, 2004 IP