Share » Forums » Developer » is the posted values global ?...

is the posted values global ? ($http->hasPostVariable poblem)

is the posted values global ? ($http->hasPostVariable poblem)

Thursday 22 May 2003 5:37:12 am - 1 reply

Author Message

Bård Farstad

Wednesday 28 May 2003 1:58:21 am

Using the eZHTTPTool class and the postVariable function you will be able to fetch any HTTP POST variable in your script.

In a shopping workflow I use:
$http =& eZHTTPTool::instance();
if ( $http->hasPostVariable( "Name" ) )
$tmpName = $http->postVariable( "Name" );

This works on a normal form variable called Name.

--bård

Documentation: http://ez.no/doc

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu