Home >Web Front-end >HTML Tutorial >STHML tutorial(3)
XSSI (Extended SSI) is a set of advanced SSI instructions built into the mod-include module of Apache 1.2 or higher. The available commands are:
#printenv
#set
#if
#printenv
Function: Display all environment variables currently existing in the WEB server environment.
grammar:
#set
Function: You can assign a value to a variable for use in subsequent if statements.
grammar:
Example:
#if
Function: Create a page that can change data. The data is displayed according to the requirements calculated when using the if statement.
grammar:
Display content
Display content
Display content
Example:
Welcome to http://www.baidu.com
Welcome to http://www.google.com
Welcome to Afly's Blog!
NOTE: The backslash used in the previous directive is used to replace the inner quotes so that they are not interpreted as terminating the expression. Cannot be omitted.
The above is the detailed content of STHML tutorial(3). For more information, please follow other related articles on the PHP Chinese website!