my site only has html pages, what to do?

Discussion in 'Co-op Advertising Network' started by jarro_2783, Mar 10, 2005.

  1. #1
    Hi,
    I have tried to put the banner ad code in my website, but there are no banners showing up. I only have html pages in my site, I don't have shtml or php.
    My host does support php, and I have followed the instructions and made two files called ad_network_191.php and ad_network_ads_191.txt and made it writeable.
    But now I don't know where or what code to paste into my index.html to make the ads work. Can someone please help?
     
    jarro_2783, Mar 10, 2005 IP
  2. ResaleBroker

    ResaleBroker Active Member

    Messages:
    1,665
    Likes Received:
    50
    Best Answers:
    0
    Trophy Points:
    90
    #2
    This thread might have the information you need. If not, use the "search" function and you should be able to find the information you need.
     
    ResaleBroker, Mar 10, 2005 IP
  3. jarro_2783

    jarro_2783 Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    maybe, thanks. It's just that my page has div tags so I will want it to appear just after the <div id="middle> tag. I also don't want it to appear on all my pages. Just some of them. Index.html and a few others, but not every single one.
     
    jarro_2783, Mar 10, 2005 IP
  4. ResaleBroker

    ResaleBroker Active Member

    Messages:
    1,665
    Likes Received:
    50
    Best Answers:
    0
    Trophy Points:
    90
    #4
    You might consider reading some of the FAQs and forum threads on this.
     
    ResaleBroker, Mar 10, 2005 IP
  5. jarro_2783

    jarro_2783 Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Now I get this error:

    Warning: file_get_contents(http://ads.digitalpoint.com/network.php?b=amxconfig.sourceforge.net&color=00aaff): failed to open stream: Connection refused in /home/groups/a/am/amxconfig/htdocs/ad_network_191.php on line 40
     
    jarro_2783, Mar 10, 2005 IP
  6. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #6
    It HAS to be on every page within your Base URL so forget about that plan.

    Also see the new Co-op FAQ I've put up for reference to these rules and installation guidline links.
     
    T0PS3O, Mar 11, 2005 IP
  7. jarro_2783

    jarro_2783 Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    well it'll have to go on all, but it still won't show on anything.
     
    jarro_2783, Mar 13, 2005 IP
  8. crazyhorse

    crazyhorse Peon

    Messages:
    1,137
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Not sure whether you have read this thread but please have a look at Setup HTML installation Guide Coop

    Edit- that thread was mentioned right after your first post. :eek:

    I had some problems at first with installing the html code myself as well. One of the problems was that i didnt have closing tags. Does your server support mod_rewrite?
     
    crazyhorse, Mar 13, 2005 IP
  9. sadcox66

    sadcox66 Spirit Walker

    Messages:
    496
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Your version of PHP does not have reading of files using URLs enabled. Said another way

    The function
    file_get_contents(...)
    cannot read the file from DP server located at
    http://ads.digitalpoint.com/network.php?b=amxconfig.sourceforge.net&color=00aaff

    Hey, is your website located at sourceforge.net ?
    Naturally they have restrictions like this placed on their server to to reduce load like this
     
    sadcox66, Mar 13, 2005 IP