PHP Demo

POST Form

=

print_r($_POST)

Array
(
)

GET Form

=

print_r($_GET)

Array
(
)

PHP Server Variables

print_r($_SERVER)

Array
(
    [UNIQUE_ID] => YrhKjj1Q3tgjhyut6EVvDwAAAAE
    [HTTP_USER_AGENT] => CCBot/2.0 (https://commoncrawl.org/faq/)
    [HTTP_X_FORWARDED_FOR] => 184.28.156.29, 128.205.200.89, [2620:cc:8000:1840:0:0:80cd:c859], [2620:cc:8000:1840:0:0:80cd:c99e], 128.205.200.89
    [HTTP_HOST] => ubcms-php-demo.webapps.buffalo.edu
    [HTTP_X_FORWARDED_HOST] => ubcms-php-demo.webapps.buffalo.edu
    [HTTP_X_FORWARDED_PORT] => 443
    [HTTP_X_FORWARDED_PROTO] => https
    [HTTP_FORWARDED] => for=128.205.200.89;host=ubcms-php-demo.webapps.buffalo.edu;proto=https;proto-version=
    [PATH] => /opt/rh/rh-nodejs8/root/usr/bin:/opt/rh/httpd24/root/usr/bin:/opt/rh/httpd24/root/usr/sbin:/opt/rh/rh-php70/root/usr/bin:/opt/rh/rh-php70/root/usr/sbin:/opt/app-root/src/bin:/opt/app-root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/rh/rh-php70/root/usr/bin
    [LD_LIBRARY_PATH] => /opt/rh/rh-nodejs8/root/usr/lib64:/opt/rh/httpd24/root/usr/lib64:/opt/rh/rh-php70/root/usr/lib64
    [SERVER_SIGNATURE] => 
    [SERVER_SOFTWARE] => Apache/2.4.27 (Red Hat) OpenSSL/1.0.2k-fips
    [SERVER_NAME] => ubcms-php-demo.webapps.buffalo.edu
    [SERVER_ADDR] => 10.1.1.190
    [SERVER_PORT] => 80
    [REMOTE_ADDR] => 10.1.9.1
    [DOCUMENT_ROOT] => /opt/app-root/src/
    [REQUEST_SCHEME] => http
    [CONTEXT_PREFIX] => 
    [CONTEXT_DOCUMENT_ROOT] => /opt/app-root/src/
    [SERVER_ADMIN] => root@localhost
    [SCRIPT_FILENAME] => /opt/app-root/src/index.php
    [REMOTE_PORT] => 59774
    [GATEWAY_INTERFACE] => CGI/1.1
    [SERVER_PROTOCOL] => HTTP/1.1
    [REQUEST_METHOD] => GET
    [QUERY_STRING] => 
    [REQUEST_URI] => /
    [SCRIPT_NAME] => /index.php
    [PHP_SELF] => /index.php
    [REQUEST_TIME_FLOAT] => 1656244878.894
    [REQUEST_TIME] => 1656244878
)