Examples of SSI directives that change date, size, and message formats.
SOURCE HTML | RESULT | DESCRIPTION |
<!--#config errmsg="Sorry, a system bomb has occurred"-->
<!--#echo NOT_VALID="NOT_VALID_VAR"--> |
Sorry, a system bomb has occurred. | Issues an error message when a parse fails |
<!--#config sizefmt="bytes"--> <!--#fsize file="ssi-sidebar.html"--> |
5,633 | Specifies the format as "bytes." You can use "abbrev" for output in KB or MB units. |
<!--#config timefmt="%D %R"--> <!--#echo var="LAST_MODIFIED"--> | 10/15/99 18:27 | Formats the date output. See the C language reference manual on strftime for more options. |