contents   index   previous   next



CGI Environment Variables Extensions

 

WebX also includes some common extensions the standard set of CGI Environment Variables.

 

Variable

Description

COUNTER

The current hit counter value for the requested page.

DATE

The current local date and time.

DATE_LOCAL

The current local date and time.

DATE_GMT

The current GMT date and 24 hour format time. GMT format is "ddd, dd mmm yyyy hh:nn:ss".

DAY_OF_WEEK

The current local day of the week.

DOCUMENT_NAME

The requested document name. Example: http://www.mydomain.com/products/new.html will return "new.html"

DOCUMENT_URI

Uniform Resource Identifier. Typically, the Internet address string referring to an object. A URL is a type of URI.

DOCUMENT_URL

Uniform Resource Locator. URL and URI are often mistakenly used interchangeably, so DOCUMENT_URL was added to WebX to minimize page errors.

TIME

The current local time.