$_SERVER$_POST$_GET
UNIQUE_ID:  V@sgdUS1yRcAAD8p3uEAAAAN
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.226.47.198
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:  57988
GATEWAY_INTERFACE:  CGI/1.1
SERVER_PROTOCOL:  HTTP/1.0
REQUEST_METHOD:  GET
QUERY_STRING:  fname=Hello&lname=World
REQUEST_URI:  /~csci571/Special/php_ex/show_vars.php?fname=Hello&lname=World
SCRIPT_NAME:  /~csci571/Special/php_ex/show_vars.php
PHP_SELF:  /~csci571/Special/php_ex/show_vars.php
REQUEST_TIME_FLOAT:  1475027061.345
REQUEST_TIME:  1475027061
argv:  Array
     0:  fname=Hello&lname=World
argc:  1
empty
fname:  Hello
lname:  World

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.