$_SERVER$_POST$_GET
SHLVL:  1
PORT:  32602
HOME:  /app
PS1:  \[\033[01;34m\]\w\[\033[00m\] \[\033[01;32m\]$ \[\033[00m\]
_:  /bin/sh
PATH:  /usr/local/bin:/usr/bin:/bin
PWD:  /app
DYNO:  web.1
HTTP_HOST:  csci571.herokuapp.com
HTTP_CONNECTION:  close
HTTP_ACCEPT_ENCODING:  x-gzip, gzip, deflate
HTTP_USER_AGENT:  CCBot/2.0 (http://commoncrawl.org/faq/)
HTTP_ACCEPT:  text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_IF_MODIFIED_SINCE:  Sat, 18 Nov 2017 04:12:05 GMT
HTTP_X_REQUEST_ID:  30367887-4a04-435c-904c-034b655d8ed0
HTTP_X_FORWARDED_FOR:  23.20.165.182
HTTP_X_FORWARDED_PROTO:  http
HTTP_X_FORWARDED_PORT:  80
HTTP_VIA:  1.1 vegur
HTTP_CONNECT_TIME:  0
HTTP_X_REQUEST_START:  1524440580088
HTTP_TOTAL_ROUTE_TIME:  0
SERVER_SIGNATURE:  
SERVER_SOFTWARE:  Apache/2.2.22 (Unix) PHP/5.3.10
SERVER_NAME:  csci571.herokuapp.com
SERVER_ADDR:  172.18.107.210
SERVER_PORT:  80
REMOTE_ADDR:  10.33.186.234
DOCUMENT_ROOT:  /app/www
SERVER_ADMIN:  you@example.com
SCRIPT_FILENAME:  /app/www/show_vars.php
REMOTE_PORT:  13313
GATEWAY_INTERFACE:  CGI/1.1
SERVER_PROTOCOL:  HTTP/1.1
REQUEST_METHOD:  GET
QUERY_STRING:  
REQUEST_URI:  /show_vars.php
SCRIPT_NAME:  /show_vars.php
PHP_SELF:  /show_vars.php
REQUEST_TIME:  1524440580
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.