Problems with running php & html pages

Discussion in 'Co-op Advertising Network' started by seomaster, Jan 21, 2005.

  1. #1
    Hi everyone,

    we try to set up our co ad network at but the problem is the following:

    We have some pages that are in .php and the ad is working but we have also some other static .html pages where we want to place the ads and in these .html pages we cannot see the ad at the end. We run Mambo server 4.5.1 and all this interface runns in PHP It seems that the htaccess file is ok but it just simply doesn't go.

    In fact there are some pages that the system obliges us to show the ad even if we want or not. Is this mandatory?
    How can we achieve to place the code correct in the static .html pages so that we can see the ads?

    Any help will be appreciated.

    Chris

    -----------------------------------------------
     
    seomaster, Jan 21, 2005 IP
  2. SEbasic

    SEbasic Peon

    Messages:
    6,317
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    0
    #2
    1) Welcome to the forum.

    2) Did you read the setup instructions?? (really)

    3) The ads need to be on every page of the site.
     
    SEbasic, Jan 21, 2005 IP
  3. seomaster

    seomaster Guest

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Oliver I see this but we have some pages that are in PHP(Mambo 4.5.1) where there is no problem as we go and place this PHP code in the footer of the template, but then we have definitely created some 2000 very content relevant pages which are all in .htm & .html.

    When we go to validate then the system finds these .htm & .html pages and then it says that the code can not validate in these /......... directories.

    What is the solution? We have no problem placing sitewide the code.

    Thanks for your reply.

    Chjris
     
    seomaster, Jan 21, 2005 IP
  4. SEbasic

    SEbasic Peon

    Messages:
    6,317
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Not too sure really...

    Have you placed the code in your .htaccess file that can be found in the set up instructions?
     
    SEbasic, Jan 21, 2005 IP
  5. seomaster

    seomaster Guest

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5

    I have placed it Oliver but it doesn't go..

    have a look at
    http://www.clickgofind.com:8080/seoeurope/ where it is working at the end because it is a PHP page and the next which is an .html isn't working.

    http://www.clickgofind.com:8080/seoeurope/google/google-resources.html

    Any idea?
     
    seomaster, Jan 21, 2005 IP
  6. SEbasic

    SEbasic Peon

    Messages:
    6,317
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I really don't know.

    Shawn or Tops will probabally have a better idea of what's going on than me.

    One suggestion, might be to place the absolute server path where you link to the ad_network.php.

    I've got this...
    include ('g:\domains\seo-dev.co.uk\wwwroot\ad_network.php');

    It might work - It did for me and I was having a similiar problem.
     
    SEbasic, Jan 21, 2005 IP