Skip to main content

mbr_http_request

Usage

This shortcode returns the contents of the specified $_REQUEST variable.

PHP’s $REQUEST variable is an array that contains all HTTP Request variables: $_GET, $ POST and $_ COOKIE.

Parameters

ParametersDescription
varThe name of the $_REQUEST variable to retrieve.
Default: none.
Required: yes.

Validity

This shortcode is evaluated for any type of visitor.

Conditional Branching

This shortcode does NOT support conditional branching with [ELSE_http_request].

Nesting

Shortcode nesting within is NOT supported.

Examples

Will return the contents of $_REQUEST['test_request'] if it exists.

[mbr_http_request var='test_request']

API

Note

There is no ActiveMember360 API function equivalent for this shortcode. Please use standard PHP functions.