A Complete Guide to Web Design

(やまだぃちぅ) #1
List of Elements 257

Server Side
Includes

List of Elements

Web Design in a Nutshell, eMatter Edition

Attributes


errmsg
Defines the default message sent if an error occurs while parsing the
document.



sizefmt
Sets the format to be used when displaying the size of the file. Valid values
arebytes orabbrev, which rounds the size up to the nearest kilobyte.



timefmt
Sets the format for dates and times. The full range of formats and examples
are provided in the section “Time Formats for SSI Output.”


echo


echo var="environment or set variable"


Prints (displays in the document) the value of the variable.


Attributes


var
The value is the name of the variable to print.



exec


exec cmd|cgi="string"


Executes external programs and inserts the output in the current document.


Attributes


cgi
Provides the relative URL path to the CGI script.
You are visitor number


cmd
Specifies any shell program on the server. The SSI variables are available to
the command.



fsize


fsize file|virtual="path"


Inserts the file size of a specified file. The size follows the sizefmtformat
configuration.

Free download pdf