Usage:

This shortcode is designed to check for the existence of a $_REQUEST variable and, given a value to check, for a value match. Any content embedded between the tags will be displayed if the criteria is met.

[ELSE_is_http_request] conditional branching is supported.

Shortcode nesting is supported:
[mbr_is_http_request1] thru [mbr_is_http_request19]
[ELSE_is_http_request1] thru [ELSE_is_http_request19]

Parameters:

varThe name of the $_REQUEST variable for whose existence you are checking.
Default: none.
Required: yes.
valA value which the $_REQUEST variable must hold in order for the shortcode to evaluate to true.
Default: none.
Required: no.

Example:

Will display “Test REQUEST is set” if $_REQUEST[‘test_request’] exists.

[mbr_is_http_request var='test_request']
  Test REQUEST is set
[ELSE_is_http_request]
  Test REQUEST is NOT set
[/mbr_is_http_request]

Will display “Test REQUEST is set” if $_REQUEST[‘test_request’] exists AND its value is 123.

[mbr_is_http_request var='test_request val='123']
  Test REQUEST is set to 123
[ELSE_is_http_request]
  Test REQUEST is NOT set to 123
[/mbr_is_http_request]

API:

There is currently no ActiveMember360 API function equivalent for this shortcode.