|
||||||
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"--> Thursday, 03-Apr-2025 17:44:54 EDT |
|||||
DATE_GMT | Tells current date and time in Greenwich Mean Time
<!--#echo var="DATE_GMT"--> Thursday, 03-Apr-2025 21:44:54 GMT |
|||||
LAST_MODIFIED | Tells last modification date and time for current file
<!--#echo var="LAST_MODIFIED"--> Wednesday, 09-Dec-1998 13:34:33 EST |
|||||
|