coop on an Ensim server

Discussion in 'Co-op Advertising Network' started by g00gl3r, Dec 15, 2004.

  1. #1
    My host's forum helped me get the ads running on Ensim servers by following the standard instructions (none shtml) but NOT adding the code to the .htaccess file and calling for the ad_network.php file by adding the code
    <?php 
        include ('ad_network.php'); 
        echo $ad_network[0]; 
    ?> 
    Code (markup):
    To the pages where you want the ad(s) to display.
     
    g00gl3r, Dec 15, 2004 IP
  2. g00gl3r

    g00gl3r Well-Known Member

    Messages:
    167
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    128
    #2
    ok, hang in there, it's not LOL, track this topic if you are having trouble on Ensim though as i'm determined to get the ads bloody working on it.

    If anybody has managed to do it let me know LOL, we could be here a while...
     
    g00gl3r, Dec 15, 2004 IP
  3. Sven

    Sven Peon

    Messages:
    179
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    ensim windows, it wont have it. ensim unix is fine for me. I run a free hosting service and i bolted coop on the bottom of all my clients sites (over 300 : )
     
    Sven, Dec 15, 2004 IP
  4. g00gl3r

    g00gl3r Well-Known Member

    Messages:
    167
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    128
    #4
    Ok,

    • Make the file ad_network_ads.txt and chmod it
    • Make the file ad_network.php
    • Add the code
      AddHandler php-script .php .php4 .php3 .htm .html
      Code (markup):
      to your .htaccess
    • Add the code
      <?php 
          include ('ad_network.php'); 
          echo $ad_network[0]; 
      ?> 
      Code (markup):
      to your footer or all your pages...

    This is for Ensim/Linux/HMTL Pages (not too sure if other hosts are setup different), this isn't an official install/setup thing. It's just what works for me and here as a little guide.

    Big thanks to a guy that just appeared from nowhere on my hosts forums. The topic can be found HERE.
     
    g00gl3r, Dec 15, 2004 IP