Adding to htm. site

Discussion in 'Co-op Advertising Network' started by Fishing Forum, Nov 30, 2004.

  1. #1
    Hi all

    Being having problems with adding the network to a htm template site

    Followed the instruction (hopefully correctly) but when I visit the site afterward a pop up box appears say save to disk ect

    What have I done wrong

    Thanks for your time - just deing dummer than usaul today :rolleyes:
     
    Fishing Forum, Nov 30, 2004 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    URL, implementation/scripting language you are using, etc. would be helpful. :)
     
    digitalpoint, Nov 30, 2004 IP
  3. Fishing Forum

    Fishing Forum Active Member

    Messages:
    537
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    60
    #3
    Oh ya would help

    Reg under OTHER

    Followed the instruction for that

    All pages are html - is it something to do with the .htaccess file:
     
    Fishing Forum, Nov 30, 2004 IP
  4. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #4
    You doing it with PHP, SSI, or? Also, what's the URL of the page in question?
     
    digitalpoint, Nov 30, 2004 IP
  5. Fishing Forum

    Fishing Forum Active Member

    Messages:
    537
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    60
    #5
    URL = http://www.fishing-vacation.info

    inserting the php code as serve can run php

    Remember I am a bit dim so the above info is probably wrong
     
    Fishing Forum, Nov 30, 2004 IP
  6. chachi

    chachi The other Jason

    Messages:
    1,600
    Likes Received:
    57
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Not that this is what is happening for sure, but we ran into a similar problem on a couple of our sites. We had SSI enabled in httpd.conf and when you inlcude that add handler to parse php files in .htm and .html files we got the same reaction. So, you may need to disable SSI in httpd.conf to make everything work as is. If you use SSI on your site now, you will not be able to do both (use SSI and parse the php in pages with .htm and .html extensions).
     
    chachi, Nov 30, 2004 IP
  7. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #7
    Yeah, for whatever reason the SSI code isn't being parsed. If it's already PHP, no need to run the SSI implementation (it would be better to run the PHP setup).
     
    digitalpoint, Nov 30, 2004 IP
  8. exam

    exam Peon

    Messages:
    2,434
    Likes Received:
    120
    Best Answers:
    0
    Trophy Points:
    0
    #8
    does the server send .htm or .html files thru the php parser? You can tell Apache to do this in httpd.conf or .htaccess
    ie: (if you're using php4)
    AddType application/x-httpd-php4 .php .html .htm

    EDIT: Oops, when I came back and clicked "post" they beat me too it. :)
     
    exam, Nov 30, 2004 IP
  9. Fishing Forum

    Fishing Forum Active Member

    Messages:
    537
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    60
    #9
    Thanks for taking the time guys

    MMM would not have a clue how to disable httpd.conf
     
    Fishing Forum, Nov 30, 2004 IP
  10. ATLien

    ATLien Peon

    Messages:
    67
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I inserted them in to a shtml page using SSI.

    <!--#include file="ad_network.php" -->
    Code (markup):
    No need to do the 1,2,3 I found that just linking to the above code 4 times resulted in 4 ads. I am not sure if it counted them as 4 ads on weight.
     
    ATLien, Nov 30, 2004 IP
  11. joseph29

    joseph29 Peon

    Messages:
    39
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    I'm having same problem. How do you edit httpd.conf?
     
    joseph29, Nov 30, 2004 IP
  12. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #12
    It would count as 4.
     
    digitalpoint, Nov 30, 2004 IP