Ad html page placement

Discussion in 'Co-op Advertising Network' started by bloodwrath, Jan 7, 2005.

  1. #1
    I hopping this is a quick one

    when u or I add more than 1 ad , say 3-5 ads
    is thier a way to place the ad's side by side
    as when i place more than 1 their always on top of each other

    thanks for your help
    and keep up the great work on this ad network and all the other tools
     
    bloodwrath, Jan 7, 2005 IP
  2. Foxy

    Foxy Chief Natural Foodie

    Messages:
    1,614
    Likes Received:
    48
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Like this:
    <?php
    ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    include ('/home/xxx/public_html/ad_network.php');
    echo $ad_network[0];
    ?> |
    <?php
    ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    include ('/home/xxx/public_html/ad_network.php');
    echo $ad_network[1];
    ?> |
    <?php
    ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    include ('/home/xxx/public_html/ad_network.php');
    echo $ad_network[2];
    ?> |
    <?php
    ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    include ('/home/xxx/public_html/ad_network.php');
    echo $ad_network[3];
    ?> |
    <?php
    ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    include ('/home/xxx/public_html/ad_network.php');
    echo $ad_network[4];
    ?>

    Replace the xxx with your username and each text ad is separated by a | which you can see just after the ?> and before <?php
     
    Foxy, Jan 7, 2005 IP
  3. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #3
    A quicker way to do the exact same thing:

    <?php
    ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    include ('ad_network.php');
    echo implode (' | ', $ad_network);
    ?>
    PHP:
     
    digitalpoint, Jan 7, 2005 IP
  4. Foxy

    Foxy Chief Natural Foodie

    Messages:
    1,614
    Likes Received:
    48
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Oh, golly, one of these days I will catch up with the Master of the Universe - bought the phones..... hehehehe :D

    I am not buying a Hummer......!!!! ;)
     
    Foxy, Jan 7, 2005 IP
  5. bloodwrath

    bloodwrath Active Member

    Messages:
    1,364
    Likes Received:
    49
    Best Answers:
    0
    Trophy Points:
    90
    #5
    Thanks nice code for 5 ads :D

    maybe im not explaining myself properly
    ill try again ;)

    this is what i mean
    by side my side
    http://www.supportcave.com/ads.jpg

    hope this help to clarify what im trying to say
     
    bloodwrath, Jan 7, 2005 IP