ez.no / exponential / documentation / reference / template operators / data extraction / ezhttp
ezhttp( name [, type ] )
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | HTTP variable to fetch | yes |
| type | string | Specify source of variable. Default is is HTTP POST variable | no |
Variable value
Fetch HTTP variable, either POST, GET or session variable.
Use the type parameter to specify variable type.
Type options:
{ezhttp( 'search', 'post' )}
returns the search HTTP POST variable.
{ezhttp( 'image', 'get' )}
returns the image HTTP GET variable.
{ezhttp( 'user_id', 'session' )}
returns the user_id session variable.
Comments