How to get coop going with ads show up and validation

Discussion in 'Co-op Advertising Network' started by onlineq, Jan 30, 2005.

  1. #1
    I have been hasing trouble to set up CO-Op properly in my server for quite a while. I do want to get coop going. Since I can't figure out where it is going on, I like to ask some basic questions here and hope that I did something wrong, not is my server issue.

    My server allows latest PHP and Mysql. My original webpage is .html. My server seems not able to parse PHP as php code, but can directly execute php if my webpage end .php

    Also I am able to place SSI code to execute other php codes.

    My questions here:

    1. Do I need to place AddType application/x-httpd-php .php .htm .html into .htaccess ? If I do, I got internal error. If I change to addhandler ..., my other php program for ssi processing won't work.

    2. Based on my case, should I use .shtml site code

    <!--#include virtual="/ad_network.php" -->

    Or php based site code

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



    Sorry for the dumb questions. Just so frustrated not able to get coop going.

    ANy help ?
     
    onlineq, Jan 30, 2005 IP
  2. onlineq

    onlineq Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Ok. I finally got coop ads show up in my websites, also got validation as well. My server just not parse php as php code. So I just simply use .php as my webpage extensions.
     
    onlineq, Jan 30, 2005 IP