GET and POST Variables
Developer
3rd Party (Commercial)
EE Version Support
- ExpressionEngine 1.x
- ExpressionEngine 2
Compatibility
If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.
- Updater
- Multi Site Manager
- Stand Alone Entry Form
- Low Variables
- Content Elements
- Better Workflow
- Matrix
- Grid
- Webservice
- Publisher
Requirements
- jQuery for the Control Panel
Add-On Type(s)
Plugin
Tags
This plugin outputs variables from GET and POST arrays.
PARAMETERS
1) if_array - Optional. Allows you to specify what will be outputted in case the value of variable is array.
By default an empty string will be outputted.
2) on_failure - Optional. Allows you to specify what will be outputted in case variable was not found.
By default an empty string will be outputted.
USAGE
To output variable “my_variable” from GET array use the code as this:
{exp:get_post_vars parse="inward"}
{get_my_variable}
{/exp:get_post_vars}
To output variable “my_variable” from POST array use the code as this:
{exp:get_post_vars parse="inward"}
{post_my_variable}
{/exp:get_post_vars}
To output variable “my_variable” from POST or GET array use the code as this:
{exp:get_post_vars parse="inward"}
{get_post_my_variable}
{/exp:get_post_vars}
GET and POST Variables Links
This entry was created February 8, 2011, 12:20 pm.
This entry was last updated October 25, 2012, 9:46 am.
Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!
Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.
1 Review:
Leevi J Graham 02.27.11
There is a free addon that provides the same (and some) functionality here: http://devot-ee.com/add-ons/mo-variables/