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>xenv()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
xEnv()
Fills array with server environment variables
------------------------------------------------------------

Syntax:

  xEnv() ---> Array

Arguments: None

Returns:

  A single dimensioned array containing all server environmental variables
  setup by the Web Server for the CGI session.

Description:

  Each web server makes several environmental variables available for
  use in a CGI program. Many variables are standard, but all web servers
  do not return the same set of variables.

  xEnv() returns an array filled with these variables.

  Knowing which variables are available and what their values are, can be
  of use in debugging your CGI program.

Examples:

  function main()
    local i    := 0
    local aEnv := {}

    ...
    ...
    aEnv := xEnv()

    for i := 1 to len( aEnv )
      htmlWrite( aEnv[i] )
      Cr()
    next
    ...
    ...
  return(NIL)

Files: Library is ClipX.Lib

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