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>cxcgistrraw()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
cxCgiStrRaw()
Returns the raw form object data passed by the Web Server
---------------------------------------------------------------------

Syntax:

  cxCgiStrRaw()  --->  cString

Arguments: None

Returns:

  A character string sent from the Web Server as a result of
  processing a form. This is the raw version of the string.

Description:

  cxCgiStrRaw() should be considered as a debug function.
  Use cxCgiValue() or PubVars() to get form data for processing.

  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.

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

  cxCgiStr() returns as a string, the cleaned query-string sent
  from the Web Server as a result of processing a form.

  Form data is sent to the CGI program in pairs of delimited values.
  cxCgiStrRaw() presents this data as a character string with the following
  characteristics. Each pair of data consists of the name of the form object,
  an equal sign (=), and the value of the form object. Each of these pairs
  of data is separated by an ampersand. Before the data is cleaned, it will
  also contain several escape sequence characters.

  A cxCgiStrRaw() string looks like this.
      hiddenField=I%27m+hidding&eMailAddr=You+%26+I+say+1+%2B+1+%
      3D+2.&startMonth=01&startDay=01&startYear=94&endMonth=01&endDay=

  cxCgiStr() returns a cooked version of the string:
      hiddenField=I'm hidding&eMailAddr=You & I say 1 + 1 = 2.

  This string may be useful for debugging purposes.

Examples:

  function Main()
    Local cQueryStr := ""
    if !ClipXOpen()            <-- The string is read from the Web Server here
      Quit
    endif
    header()

    cQueryString := cxCgiStrRaw()  <-- Your copy of the string
    // or htmlWrite( cxCgiStrRaw() )
    ...
    ...
    ...
  return nil

Files: Library is ClipX.Lib


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

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