Unable to display ads

Discussion in 'Co-op Advertising Network' started by siringo, Jul 6, 2005.

  1. #1
    I have followed the instructions on the 'Set up' page as well as I can. I have CHMOD'd the .txt file (ad_network_ads_308.txt) to 777.

    I have placed the .htacces file in the root directory (1 level lower than the WWW folder) of my site. It contains what is listed on the 'Set up' page.

    I have added this:
    <?php
    ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    include ('ad_network_309.php');
    echo $ad_network;
    ?>
    to my .html files, just abov the </body> tag.

    My files end in .html.

    I got a bit lost with whether I should use the php stuff above or the 'include'?

    It's telling me my site is not validating and I cannot see any ads! I'm a little lost here, so all help will be greatly appreciated.
     
    siringo, Jul 6, 2005 IP
  2. siringo

    siringo Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I had another quick look at all this last night and still can't see where I've gone wrong. Can anyone help or anyone have any ideas?

    Thanks for any help.
     
    siringo, Jul 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
    What's the URL?
     
    digitalpoint, Jul 7, 2005 IP
  4. siringo

    siringo Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    The URL is www.safelistsupplies.com The code is at the bottom of the page.

    Thanks very much.
     
    siringo, Jul 7, 2005 IP
  5. fryman

    fryman Kiss my rep

    Messages:
    9,604
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    370
    #5
    Source code shows php code, you aren't parsing
     
    fryman, Jul 7, 2005 IP
  6. siringo

    siringo Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    How do I get it to be parsed? Do I need to do something or get my hoster to change/add something for me?

    Many thanks.
     
    siringo, Jul 7, 2005 IP