$_SERVER is a PHP super global variable that holds information about headers, paths, and script locations set by the web server related to the runtime environment of the current PHP script. It contains data on the PHP self, server address, name, software, protocol, request method, time, query string, HTTP headers, host, remote port, script file name and admin. $_REQUEST collects submitted form data and functions similarly to other super global variables like $_GET and $_POST to store information numerically or associatively.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
17 views10 pages
$ - Server & $ - Request
$_SERVER is a PHP super global variable that holds information about headers, paths, and script locations set by the web server related to the runtime environment of the current PHP script. It contains data on the PHP self, server address, name, software, protocol, request method, time, query string, HTTP headers, host, remote port, script file name and admin. $_REQUEST collects submitted form data and functions similarly to other super global variables like $_GET and $_POST to store information numerically or associatively.