Developer's Manual  System Variables and Constants  $suREQ

$suREQ

Array $suREQ is a global array that contans data of request passed from browser to Apache server.

<?
$suREQ
= Array(
    
'index'    => string index_file_name,    // contains name of SiteSupra index file if hideIndex in .htsupra file is turned off
    
'proto'    => string protocol,           // protocol used, by default it is http
    
'port'     => string port,               // contains port number, if port 80 is used, then the element is empty
    
'domain'   => string domain_name,        // contains domain name without protocol and port
    
'supra'    => int supra,                 // for internal use
    
'lang'     => string current_language,   // current language code as defined in .htsupra file in $suLANG array
    
'langPath' => string lang_path,          // current language abbreveation, example: /en
    
'langID'   => int langID,                // language ID as defined in .htsupra file in $suLANG array
    
'path'     => string current_path,       // path of currently loaded page
    
'query'    => string query,              // contains query parsed via GET method
    
'id'       => int page_id                // id of currently loaded page
)
?>
Please login to add comments.