File names?

Discussion in 'Fan Sites' started by Alybrylla, Jan 1, 2003.

Thread Status:
Not open for further replies.
  1. Alybrylla Jedi Master

    Member Since:
    Jun 12, 2002
    star 4
    What's the difference between naming your files .html, .htm, .shtml, etc.?
  2. YodaJeff Manager Emeritus

    Member Since:
    Oct 18, 2001
    star 7
    As far as I know, there isn't a difference between .htm and .html. However, .shtml files are used when the server is equipped to handle Server Side Includes (SSI). With SSI, you just have to add a simple tag to all of your HTML pages, and it will automatically replace that tag with the code found in a specified file. This comes in handy for making header or footer files, so that you only have to change one file to have the layout change for every page, rather than having to change the HTML in every single file. There are some other things that SSI can do, but I'm only really familiar with using them for headers and footers.
  3. Night4554 Jedi Grand Master

    Member Since:
    Oct 9, 2000
    star 5
    Jeff's quite right. I beleive they can do time with them also?

    Anyway, TFN uses shtml for headers and footers :)

    ¤Night
  4. xie Jedi Grand Master

    Member Since:
    May 25, 2002
    star 5
    You can use SSI with a CGI script such as Newspro to dynamically update the news on your page without editing the HTML.
  5. Alybrylla Jedi Master

    Member Since:
    Jun 12, 2002
    star 4
    Thanks. :)

    Do you know of anywhere I could go to learn more about SSI?
  6. Night4554 Jedi Grand Master

    Member Since:
    Oct 9, 2000
    star 5
  7. jedi-mind-trick VIP

    Member Since:
    Jul 6, 2001
    star 5
    Wow.....great links Night! Thank you! *hugs* :D
Thread Status:
Not open for further replies.