How would I do this?

Discussion in 'HTML & Website Design' started by MichaelS, Jun 16, 2007.

  1. #1
    I need a code to embed in the sponsors part of my website. I want it so I only have to edit 1 page, so it shows up on every page. Like, instead of going to every page and adding the link, editing one page that would edit it all. I think I need to use php, but I'm not that skilled in it. Any help would get rep.

    I use bravenet, so I can't host PHP files. I could host it on ripway or something though.
     
    MichaelS, Jun 16, 2007 IP
  2. MichaelS

    MichaelS Guest

    Messages:
    595
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Sorry for the bump, but I would like a quick answer.
     
    MichaelS, Jun 16, 2007 IP
  3. InFloW

    InFloW Peon

    Messages:
    1,488
    Likes Received:
    39
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Does bravenet support SSI (server side includes)? If they do that may be your solution

    So a quick link for some information http://en.wikipedia.org/wiki/Server_Side_Includes

    And a simple example

    
    <!--#include virtual="sponsors.html"-->
    
    HTML:
    That will include the sponsors.html file where you put that code.
     
    InFloW, Jun 16, 2007 IP
    MichaelS likes this.
  4. MichaelS

    MichaelS Guest

    Messages:
    595
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    0
    #4
    yeah, it is allowed. Thanks a bunch. Posi.
     
    MichaelS, Jun 16, 2007 IP
  5. MichaelS

    MichaelS Guest

    Messages:
    595
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    0
    #5
    weird. It says it supports ssi, yet it doesn't work. Oh well, I can just do it manually. I tried php include already.
     
    MichaelS, Jun 16, 2007 IP