IntroductionIntroduction
  CGI and SSICGI and SSI
  <pike> tag<pike> tag
  Pike scriptPike script
  ModulesModules
    <Module types>Module types<Module types>Module types
    <create()>create()<create()>create()
    <defvar()>defvar()<defvar()>defvar()
    <query()>query()<query()>query()
    <set()>set()<set()>set()
    <query_internal_location()>query_internal_location()<query_internal_location()>query_internal_location()
    <check_variable()>check_variable()<check_variable()>check_variable()
    <info()>info()<info()>info()
    <query_name()>query_name()<query_name()>query_name()
    <register_module()>register_module()<register_module()>register_module()
    <start()>start()<start()>start()
    <status()>status()<status()>status()
    <stop()>stop()<stop()>stop()
    <find_internal()>find_internal()<find_internal()>find_internal()
  Parser modulesParser modules
  Location modulesLocation modules
  Other module typesOther module types
  Request information objectRequest information object
  ResponsesResponses
  Library methodsLibrary methods
 
query()

mixed query( string varname )

The query() method is used to access configuration variables. varname is the name of the variable, as defined by the defvar(). The return value is the value of the variable. Querying an undefined variable will result in an exception.