Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipX.Lib v1.2 - <b>cxcgivalue()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
cxCgiValue()
Get Form-object value by object-name
---------------------------------------------------------------------

Syntax:

  cxCgiValue()  --->  cString

Arguments: None

Returns:

  A character string value for the named form-object.

Description:

  The form-data is passed to the X-Hacker.orgprogram and is placed in a
  two-dimensional array.  This array is not directly accessible from
  a user program.  The data however is accessible in several ways.

  cxCgiValue() is one way to get the data.  Check the See-Also
  for additional form-variable retrieval functions.

  Each form-object has a name and value.  cxCgiValue accepts
  the name of an object and returns the value of the object.

Examples:

  Form object:  < INPUT TYPE="TEXT" NAME="FirstName" VALUE="Joe" >

  function Main()
    Local cFirstName := ""
    if !ClipXOpen()            <-- The form-data is captured here
      Quit
    endif
    header()

    cFirstName  := cxCgiValue( "FirstName" )  <-- cFirstName = "Joe"
    ...
    ...
    ...
  return nil

Files: Library is ClipX.Lib


See Also: cxFormArray() cxCgiStr() PubVars() xEnv()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson