Home > Demos > Display PHP Information   get.php   PHP_Constants.php  

all
get_declared_classes
get_loaded_extensions
get_extension_funcs
get_user_constants
get_defined_constants
ini_get_all
ini_get_all (different)
dba_handlers
system constants
stream_get_wrappers
$_ENV
$_SERVER
get_cfg_var('cfg_file_path')=/opt/cpanel/ea-php56/root/etc/php.ini
ini_get('cfg_file_path')=
$_SERVER=Array
(
    [DOCUMENT_ROOT] => /home/ross/public_html/freebeer
    [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    [HTTP_ACCEPT_ENCODING] => br,gzip
    [HTTP_ACCEPT_LANGUAGE] => en-US,en;q=0.5
    [HTTP_CONNECTION] => Keep-Alive
    [HTTP_HOST] => freebeer.smithii.com
    [HTTP_IF_MODIFIED_SINCE] => Thu, 18 Jul 2019 09:16:57 UTC
    [HTTP_USER_AGENT] => CCBot/2.0 (https://commoncrawl.org/faq/)
    [PATH] => /usr/local/bin:/bin:/usr/bin
    [PHP_SELF] => /www/demo/get.php
    [QUERY_STRING] => option=12
    [REMOTE_ADDR] => 3.234.208.66
    [REMOTE_PORT] => 37780
    [REQUEST_METHOD] => GET
    [REQUEST_TIME] => 1582712326
    [REQUEST_TIME_FLOAT] => 1582712326.9
    [REQUEST_URI] => /www/demo/get.php?option=12
    [SCRIPT_FILENAME] => /home/ross/public_html/freebeer/www/demo/get.php
    [SCRIPT_NAME] => /www/demo/get.php
    [SCRIPT_URI] => http://freebeer.smithii.com/www/demo/get.php
    [SCRIPT_URL] => /www/demo/get.php
    [SERVER_ADDR] => 69.65.43.139
    [SERVER_ADMIN] => webmaster@freebeer.smithii.com
    [SERVER_NAME] => freebeer.smithii.com
    [SERVER_PORT] => 80
    [SERVER_PROTOCOL] => HTTP/1.1
    [SERVER_SOFTWARE] => LiteSpeed
    [X-LSCACHE] => on
    [argc] => 1
    [argv] => Array
        (
            [0] => option=12
        )

)
$CVSHeader: _freebeer/www/demo/get.php,v 1.2 2004/03/07 17:51:33 ross Exp $