For more information... RTFM!
NAVIGATION
PAGES THAT LINK HERE
ACCOUNT LOGIN

You are not logged in

Powered by Interchange version 5.7.0

env

Read the HTTP environment variable(s) set for the current page request.

Summary

  • [env arg]

Parameter Description Default
arg The name of the HTTP environment variable who's value you would like to read. None
name Alias for arg. None

Examples

Perl example

$Tag->env({
    arg => $varname,
});

or similarly with positional parameters:

$Tag->env($varname);

Description

This tag provides read-only access to the HTTP environment variables that were set for the current page request.  The tag will either return the value of a named HTTP environment variable or, if no name is specified, will return a complete list of variables and values in a simple HTML table.

The output can sometimes prove useful for debugging or diagnostics.

Parameters

arg

The name of the HTTP environment variable who's value you would like to read.  If no name is provided then this tag will return a complete list of variables and values in a simple HTML table.

Category:  Interchange tags
Last modified by: Kevin Walsh
Modification date: Saturday 10 February 2007 at 1:26 PM (CST)
Home  |  Legal nonsense  |  Privacy policy  |  Donations  |  Contact us