This page contains a list of user images about Shtml which are relevant to the point and besides images, you can also use the tabs in the bottom to browse Shtml news, videos, wiki information, tweets, documents and weblinks.
Music video by Rihanna performing Take A Bow. YouTube view counts pre-VEVO: 66288884. (C) 2008 The Island Def Jam Music Group.
The Truth About Love available on iTunes NOW http://smarturl.it/tal Music video by P!nk performing Just Give Me A Reason. (C) 2012 RCA Records, a division of...
Jimmy Kimmel Live - Celebrities Read Mean Tweets #2 Jimmy Kimmel Live's YouTube channel features clips and recaps of every episode from the late night TV sho...
"Just One Last Time" feat. Taped Rai. Available to download on iTunes including remixes of : Tiësto, HARD ROCK SOFA & Deniz Koyu http://smarturl.it/DGJustOne...
Download This Song: http://bit.ly/KzLBGB Click to Tweet this Vid-ee-oh! http://bit.ly/Nt9lg8 Hi. My name is Nice Peter, and this is EpicLLOYD, and this is th...
Macklemore & Ryan Lewis present the official music video for Can't Hold Us feat. Ray Dalton. Can't Hold Us on iTunes: https://itunes.apple.com/us/album/cant-...
This video accidentally turned out kind of sad, ME SO SOWWY IT NOT POSED TO BE SAD WHO WANTS HUGS AND COOKIES? Also, FYI for anyone attempting this, it takes...
So i was pretty hesitant to make this video... but after all of your request, here is my Draw My Life video! Check out my 2nd Channel for more vlogs: http://...
A substitute teacher from the inner city refuses to be messed with while taking attendance.
Buy at iTunes: http://goo.gl/zv4o9. New album on sale now! http://turtleneckandchain.com.
download this song: http://bit.ly/ERB17 click to tweet this vid-ee-oh! http://clicktotweet.com/vCJ_8 This. Is. Merchandise: http://bit.ly/ERBMerch Hi. My nam...
Follow on Twitter! - https://twitter.com/#!/GavinFree Watch this one in HD! The slow mo guys are well aware that water balloons are always good in slow motio...
||This article includes a list of references, but its sources remain unclear because it has insufficient inline citations. (August 2009)|
The most frequent use of SSI is to include the contents of one or more files into a web page on a web server. For example, a web page containing a daily quotation could include the quotation by placing the following code into the file of the web page:
<!--#include virtual="../quote.txt" -->
With one change of the
quote.txt file, all pages including the file will display the latest daily quotation. The inclusion is not limited to files, and may also be the text output from a program, or the value of a system variable such as the current time.
Server Side Includes are useful for including a common piece of code throughout a site, such as a page header, a page footer and a navigation menu. Conditional navigation menus can be conditionally included using control directives.
In order for a web server to recognize an SSI-enabled HTML file and therefore carry out these instructions, either the filename should end with a special extension, by default
.shtm, or, if the server is configured to allow this, set the execution bit of the file.
As a simple programming language, SSI supports only one type: text. Its control flow is rather simple, choice is supported, but loops are not natively supported and can only be done by recursion using include or using HTTP redirect. The simple design of the language makes it easier to learn and use than most server-side scripting languages, while complicated server-side processing is often done with one of the more feature-rich programming languages. SSI is Turing complete.
SSI has a simple syntax:
<!--#directive parameter=value parameter=value -->. Directives are placed in HTML comments so that if SSI is not enabled, users will not see the SSI directives on the page, unless they look at its source. Note that the syntax does not allow spaces between the leading "<" and the directive. 
Most common directives 
|include||file, direct or virtual||This is probably the most used SSI directive, allowing the content of one document to be included in another. The file or virtual parameters specify the file (HTML page, text file, script, etc.) to be included. The file parameter defines the included file as relative to the document path; the virtual parameter defines the included file as relative to the document root.||
Apache tutorial on SSI stipulates the format requires a space character before the "-->" that closes the element.
|include||file or virtual||Includes the contents of another file or the result of running a CGI script. If the process does not have access to read the file or execute the script, the include will fail. "virtual" specifies the target relative to the domain root, while "file" specifies the path relative to the directory of the current file. When using "file" it is forbidden to reference to absolute paths. Higher directories (..) are usually forbidden, unless explicitly configured. The Apache documentation recommends using "virtual" in preference to "file".||
|exec||cgi or cmd||This directive executes a program, script, or shell command on the server. The cmd parameter specifies a server-side command; the cgi parameter specifies the path to a CGI script. The PATH_INFO and QUERY_STRING of the current SSI script will be passed to the CGI script, as a result "exec cgi" should be used instead of "include virtual".||
|echo||var||This directive displays the contents of a specified HTTP environment variable. Variables include HTTP_USER_AGENT, LAST_MODIFIED, and HTTP_ACCEPT.||
|config||timefmt, sizefmt, or errmsg||This directive configures the display formats for the date, time, filesize, and error message (returned when an SSI command fails).||
|flastmod or fsize||file or virtual||These directives display the date when the specified document was last modified, or the specified document's size. The file or virtual parameters specify the document to use. The file parameter defines the document as relative to the document path; the virtual parameter defines the document as relative to the document root.||
|printenv||This directive outputs a list of all variables and their values, including environmental and user-defined variables. It has no attributes.||
Control directives 
|if||expr||Used for condition tests that may determine and generate multiple logical pages from one single physical page.||
|elif||expr||Serves the same purpose as further conditioning in programming languages.||
|else||If none of the if and elif directive catches the present condition, things in here should happen.||
|endif||See above for example.|
|set||var, value||Sets the value of a SSI variable. (Not supported by all implementations)||
<!--#set --> command is supported in both Apache httpd and lighttpd.
Client Side Includes 
Client Side Includes are HTML includes achieved on the client-side. This means that the inclusions can be cached on the client. It also means that web pages with includes can be viewed locally on the file system without a web server.
- Using an IFrame, which includes content in a clearly separate, fixed size area.
<object type="text/html" data="test.html"></object>
These client-side includes are relatively complex, are not accessible to WYSIWYG editors, and rely on the client's support of their respective technologies. In the case of frames and iframes, they are less accessible.
At first it seems that manually copying and recopying HTML fragments from page to page is the easiest way, but SSI/CSI pays off. In the future, browsers may implement the W3C XInclude specification which enables client-side includes. Similarly, client-side XML includes may be done in some browsers today through the use of DTDs and external entities.
Some forum users report that SSI with apache2 isn't working. Note <Directory> Options or other settings affecting if apache2 can access the included files are relevant. Also note that revising the .conf (see above), resetting apache2 and clicking "refresh" in the web browser is not a sufficient reset, due to web browser caching issues.
See also 
- "Server Side Includes Turing machine, Jan Schejbal. Retrieved 2010-08-12". Janschejbal.de. Retrieved 2012-12-06.
- "Basic SSI Directives and Syntax". 2010-01-20. Retrieved 2010-01-20.