.htaccess file help

Discussion in 'Co-op Advertising Network' started by flyguy, Mar 28, 2005.

  1. #1
    Hello. I'm setting up the coop on one of my sites. The pages are all html. I've followed all the instructions and yet i can not get them to run. I've made a test page with suffix .php and the adds worked fine. On my html pages I've included the code on my html pages

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

    and have put the code AddType application/x-httpd-php .php .htm .html into the .htaccess file. after that I would go to the index page and get an allert "microsoft internet explorer doesn't know how to handle this file... etc. what would you like to do w/ it?" I noticed that I only got this allert on the index and not on the other pages.

    Can someone please help. I've been working on this all day and reading the forum up and down and don't know what to do.

    Thanks.
     
    flyguy, Mar 28, 2005 IP
  2. flyguy

    flyguy Peon

    Messages:
    198
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I just noticed that I've posted this in the wrong forum, should have been setup / validation ... I'm sorry.
     
    flyguy, Mar 28, 2005 IP