Creating website using SSI

Discussion in 'Site & Server Administration' started by superdog, Mar 6, 2007.

  1. #1
    Hi,

    I trying to build website using SSI by pulling header and footer files into index.shtml

    Cant get it right in the browser...
    How to use <!-include file="header.htm"> & <!-include file="footer.htm"> code in index.shtml?
    And how does the header.htm and footer.htm should look like?

    HELP!!!
     
    superdog, Mar 6, 2007 IP
  2. Mystique

    Mystique Well-Known Member

    Messages:
    2,579
    Likes Received:
    94
    Best Answers:
    2
    Trophy Points:
    195
    #2
    Mystique, Mar 6, 2007 IP
  3. superdog

    superdog Peon

    Messages:
    156
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Oh.. Thanks alot !!!!

    I read through each and every word of it..
    And manage to get what I want!!!

    Thanks Mystique!!!
     
    superdog, Mar 7, 2007 IP
  4. dcristo

    dcristo Illustrious Member

    Messages:
    19,776
    Likes Received:
    1,200
    Best Answers:
    7
    Trophy Points:
    470
    Articles:
    7
    #4
    You should consider using php includes instead
     
    dcristo, Mar 7, 2007 IP
  5. superdog

    superdog Peon

    Messages:
    156
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    what is the difference using shtml and php?

    Thanks!
     
    superdog, Mar 8, 2007 IP
  6. dcristo

    dcristo Illustrious Member

    Messages:
    19,776
    Likes Received:
    1,200
    Best Answers:
    7
    Trophy Points:
    470
    Articles:
    7
    #6
    php has the functionality to also use includes plus you have the advantage of being able to process php code for certain scripts
     
    dcristo, Mar 8, 2007 IP
  7. superdog

    superdog Peon

    Messages:
    156
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Thanks guys!
    Btw, where can I find php includes tutuorial ?

    Thanks again!
     
    superdog, Mar 9, 2007 IP
  8. donnareed

    donnareed Peon

    Messages:
    340
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #8
    donnareed, Mar 9, 2007 IP
  9. superdog

    superdog Peon

    Messages:
    156
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Thanks a lot!
     
    superdog, Mar 9, 2007 IP