ezhttp

Summary

Returns GET, POST and session values/variables.

Usage

ezhttp( name [, type ] )

Parameters

NameTypeDescriptionRequired
name string HTTP variable to fetch yes
type string Specify source of variable. Default is is HTTP POST variable no

Returns

Variable value

Description

Fetch HTTP variable, either POST, GET or session variable.

Use the type parameter to specify variable type.

Type options:

  • post - HTTP POST variable
  • get - HTTP GET variable
  • session - Session variable

Examples

{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

Contents

Reference

Database diagram
Template operators
    PDF
    Arrays
    Data extraction
       currentdate
       ezini
       ezhttp
       ezpreference
       ezsys
       fetch
       module_params
    Formatting
    Images
    Logic
    Mathematics
    Miscellaneous
    Strings
    URLs
    Variables
Template functions
Data fetching
Modules
XML tags


Created

05/02/2004
11:33:00 am
by Balazs Halasy

Last updated

06/02/2004
10:46:08 am
by Kåre Køhler Høvik

Authors

Balazs Halasy
Kåre Køhler Høvik



This page is part of the Exponential documentation. The documentation is available under the GNU Free Documentation License. All contributions will be released under the terms of this license.