|
||||||
SSI Environment Variables
Other than the standard CGI environment variable, the following SSI environment variable can also be called by echo SSI command. You can add the following code to your HTML file. |
||||||
Code | Description | |||||
---|---|---|---|---|---|---|
DOCUMENT_NAME | Tells which file are you currently reading
<!--#echo var="DOCUMENT_NAME"--> ssi_env.html |
|||||
DOCUMENT_URL | Display the virtual path of the file
<!--#echo var="DOCUMENT_URL"--> (none) |
|||||
DATE_LOCAL | Tells local date and time
<!--#echo var="DATE_LOCAL"--> Tuesday, 07-May-2024 20:17:40 EDT |
|||||
DATE_GMT | Tells current date and time in Greenwich Mean Time
<!--#echo var="DATE_GMT"--> Wednesday, 08-May-2024 00:17:40 GMT |
|||||
LAST_MODIFIED | Tells last modification date and time for current file
<!--#echo var="LAST_MODIFIED"--> Wednesday, 09-Dec-1998 13:34:33 EST |
|||||
|