Home >Web Front-end >HTML Tutorial >STHML tutorial(3)

STHML tutorial(3)

巴扎黑
巴扎黑Original
2017-04-05 09:41:411136browse

XSSI

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:STHML tutorial(2)Next article:STHML tutorial(2)