Deutsch English
Alphabetical index
Array functions
CGI functions
  • cgibuffer()
  • cgiclearbuffer()
  • cgiclosebuffer()
  • cgiexec()
  • cgigetparam()
  • cgigetsession()
  • cgitestparam()
  • cgitestsession()
  • cgiwrite()
  • cgiwritehtml()
  • cgiwriteln()
  • cgiwritetemplate()
  • endcgi()
  • endsema()
  • getquerystring()
  • http_post()
  • initcgi()
  • waitsema()
    Data types
    Date functions
    Debugging
    Fulltext functions
    Language elements
    Numerical functions
    Operators
    Other functions
    Ramtext functions
    Selecting
    Socket functions
    Statistical functions
    Stream functions
    String functions
    System functions
    Table functions
    Text functions
    Home    Overview    Search    Impressum    Contact    Members
    Topic complex CGI functions
    Function getquerystring()
    Short Gets a value from the environment variable "QUERY_STRING"
    Syntax GETQUERYSTRING(id : STRING) : STRING
    Parameter id : name of the CGI variable
    Return Value of the CGI variable if it exists
    else empty string
    See also:
    cgigetparam()
    Description The environment variable QUERY_STRING is transmitted on the following way:

    variable1=value1&variable2=value2&...

    The whole variable is URL coded.

    This variable is URL decoded automatically with an access over GETQUERYSTRING, so that you can work with the values directly.

    Example:

    From the URL
    http://myhost.de/cgi-tdb/test.prg?name=Smith&firstname=Paul

    GETQUERYSTRING('name') returns Smith
    GETQUERYSTRING('firstname') returns Paul
    GETQUERYSTRING('others') returns ''

    User comments:
    Write a comment:
    Name
    EMail
    Subject
    Text (Switch mode)

    Choose between
    the normal and the
    advanced editor.
    The advanced editor
    runs in IE 5+ and
    Mozilla 1.4+ only
    SPAM-Protection Please enter tdbengine in this field.

    tdbengine chat
    irc.tdbengine.org
    #tdbengine

       Copyright © 2003-2004 tdb Software Service GmbH
       Alle rechte vorbehalten. / All rights reserved
       Last changed: 21.10.2004
    {Fehler für :execmacro{execmacro="sessionspy"}