$_SERVER$_POST$_GET
UNIQUE_ID:  V@0X4ES1yRcAACjCZ-AAAAAM
HTTP_HOST:  www-scf.usc.edu
HTTP_ACCEPT_ENCODING:  x-gzip, gzip, deflate
HTTP_USER_AGENT:  CCBot/2.0 (http://commoncrawl.org/faq/)
HTTP_ACCEPT_LANGUAGE:  en-us,en-gb,en;q=0.7,*;q=0.3
HTTP_ACCEPT:  text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
PATH:  /usr/lsd/bin:/usr/lsd/sbin:/usr/bin:/usr/sbin:/usr/ccs/bin
SERVER_SIGNATURE:  
SERVER_SOFTWARE:  Apache/2.2.29 (Unix) PHP/5.6.11 mod_ssl/2.2.29 OpenSSL/1.0.2a DAV/2
SERVER_NAME:  www-scf.usc.edu
SERVER_ADDR:  68.181.201.23
SERVER_PORT:  80
REMOTE_ADDR:  54.221.81.125
DOCUMENT_ROOT:  /var/local/www/htdocs
SERVER_ADMIN:  webadm@usc.edu
SCRIPT_FILENAME:  /home/scf-22/csci571/public_html/Special/php_ex/show_vars.php
REMOTE_PORT:  59953
GATEWAY_INTERFACE:  CGI/1.1
SERVER_PROTOCOL:  HTTP/1.0
REQUEST_METHOD:  GET
QUERY_STRING:  
REQUEST_URI:  /~csci571/Special/php_ex/show_vars.php
SCRIPT_NAME:  /~csci571/Special/php_ex/show_vars.php
PHP_SELF:  /~csci571/Special/php_ex/show_vars.php
REQUEST_TIME_FLOAT:  1475155936.928
REQUEST_TIME:  1475155936
argv:  Array
empty
argc:  0
empty
empty

Handling Arrays

PHP also accepts multidimensional arrays as an form input. To create an array, add brackets to end of the name variable. (e.g. time[]). For example, if there is an input named time[], it would be inputted into the time[] array in PHP.