Techware Labs Header

Forums have moved

See this announcement for more details, or just go directly there.


Go Back   Techwarelabs Community > Tech > Networking

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-25-2002, 02:25 PM
Keefe Keefe is offline
Administrator
 
Join Date: May 2002
Location: Wisconsin
Posts: 2,337
Send a message via ICQ to Keefe Send a message via AIM to Keefe Send a message via MSN to Keefe Send a message via Yahoo to Keefe
Default Term of the day: server-side include

Abbreviated SSI. A type of HTML comment that directs the Web server to dynamically generate data for the Web page whenever it is requested. The basic format for SSIs are:
<!--#command tag="value"…>

Where #command can be any of various commands supported by the Web server. The simplest command is #include, which inserts the contents of another file. This is especially useful for ensuring that boilerplate components, such as headers and footers, are the same on all pages throughout a Web site. To change a boilerplate element, you need only modify the include file, instead of updating every individual Web page.

SSIs can also be used to execute programs and insert the results. They therefore represent a powerful tool for Web developers.

There is no official standard for SSIs, so every Web server is free to support different SSIs in different manners. However, many SSI commands, such as #include and #exec, have become de facto standards.

Web pages that contain SSIs often end with a .shtml extension, though this is not a requirement. The filename extension enables the Web server to differentiate those pages that need to be processed before they are sent to the browser.

As you have most likely noticed, all of the pages on Techware Labs(exept the forums) are .shtml pages. We use this to include our header, footer, and left + right navigation bars. This saves us a lot of time and we can easily display things on every page if we wish.
__________________
It's crazy I'm thinking, just knowing that the world is round.
-http://www.techwarepc.com/ - The Technology Experts
Reply With Quote
  #2  
Old 09-25-2002, 04:54 PM
Uranium-235's Avatar
Uranium-235 Uranium-235 is offline
Administrator
 
Join Date: Nov 2001
Location: Mansfield, TX
Posts: 2,469
Send a message via ICQ to Uranium-235 Send a message via AIM to Uranium-235
Default

I just use
Code:
 <? include("filename"); ?>
:P
Reply With Quote
  #3  
Old 09-25-2002, 05:07 PM
Keefe Keefe is offline
Administrator
 
Join Date: May 2002
Location: Wisconsin
Posts: 2,337
Send a message via ICQ to Keefe Send a message via AIM to Keefe Send a message via MSN to Keefe Send a message via Yahoo to Keefe
Default

Yeah, they you have to have .php files instead of .shtml
__________________
It's crazy I'm thinking, just knowing that the world is round.
-http://www.techwarepc.com/ - The Technology Experts
Reply With Quote
  #4  
Old 10-01-2002, 09:35 PM
trend
 
Posts: n/a
Default

SSI's are your friend
Reply With Quote
  #5  
Old 10-02-2002, 05:41 PM
eviltechie
 
Posts: n/a
Default

i dont know SSI yet

or so SSI dont know me yet
:P
Reply With Quote
  #6  
Old 10-02-2002, 05:43 PM
Uranium-235's Avatar
Uranium-235 Uranium-235 is offline
Administrator
 
Join Date: Nov 2001
Location: Mansfield, TX
Posts: 2,469
Send a message via ICQ to Uranium-235 Send a message via AIM to Uranium-235
Default

SSI is easy. tooo easy
Reply With Quote
  #7  
Old 10-02-2002, 06:24 PM
eviltechie
 
Posts: n/a
Default

well i dont even do php and only a little bit of html
Reply With Quote
  #8  
Old 10-02-2002, 07:31 PM
Uranium-235's Avatar
Uranium-235 Uranium-235 is offline
Administrator
 
Join Date: Nov 2001
Location: Mansfield, TX
Posts: 2,469
Send a message via ICQ to Uranium-235 Send a message via AIM to Uranium-235
Default

If you know HTML, you can do SSI
Reply With Quote
  #9  
Old 10-02-2002, 07:45 PM
eviltechie
 
Posts: n/a
Default

i know it enuf to type out SSI but never used it

thats what i mean by i dont know SSI and SSI dont know me
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 05:50 PM. Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Forum style by ForumMonkeys.