Name

echo

Synopsis

                     echo 
                     encoding="type" var="environment_variable"

Inserts value of special SSI variables, as well as other CGI environment variables. For example:

<H1>Welcome to my server at <!--#echo var="SERVER_NAME" 
-->...</H1>

Arguments

encoding

Optional. This option is available in Apache 1.3.2 and later. It specifies how special characters contained in the variable are parsed before being output. none means no encoding is performed. url performs URL-style encoding. entity is the default value, which performs simple entity encoding. The encoding parameter must come before the var parameter, and is only in effect within the current echo directive.

Get Webmaster in a Nutshell, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.