STHML tutorial(3)

巴扎黑
Release: 2017-04-05 09:41:41
Original
1084 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!