From: Joshua Slive
In addition to merely setting values literally like that,
- you can use any other variable, including, for example,
- environment variables, or some of the variables we discussed in
- the last article (like LAST_MODIFIED
, for example)
- to give values to your variables. You will specify that
- something is a variable, rather than a literal string, by using
- the dollar sign ($) before the name of the variable.
- <!--#set var="modified" value="$LAST_MODIFIED" -->
-
In addition to merely setting values literally like that, you
+ can use any other variable, including environment variables or the variables
+ discussed above (like LAST_MODIFIED
, for example) to
+ give values to your variables. You will specify that something is
+ a variable, rather than a literal string, by using the dollar sign
+ ($) before the name of the variable.
<!--#set var="modified" value="$LAST_MODIFIED" -->
+
To put a literal dollar sign into the value of your variable, you need to escape the dollar sign with a diff --git a/docs/manual/howto/ssi.xml b/docs/manual/howto/ssi.xml index 9a01443d21..b58433d833 100644 --- a/docs/manual/howto/ssi.xml +++ b/docs/manual/howto/ssi.xml @@ -383,16 +383,16 @@ modified? <!--#set var="name" value="Rich" --> -
In addition to merely setting values literally like that,
- you can use any other variable, including, for example,
- environment variables, or some of the variables we discussed in
- the last article (like LAST_MODIFIED
, for example)
- to give values to your variables. You will specify that
- something is a variable, rather than a literal string, by using
- the dollar sign ($) before the name of the variable.
In addition to merely setting values literally like that, you
+ can use any other variable, including environment variables or the variables
+ discussed above (like LAST_MODIFIED
, for example) to
+ give values to your variables. You will specify that something is
+ a variable, rather than a literal string, by using the dollar sign
+ ($) before the name of the variable.
To put a literal dollar sign into the value of your variable, you need to escape the dollar sign with a