PHP – Superglobal variable with example
In PHP there is 9 Superglobals variable available these are:
In PHP $_REQUEST is used to collect form data.
$_SERVER is an super globalvariable containing information such as headers, paths, and script locations.
In PHP $_GET is used to collect form data.
In GET you send information to server in two way :
- Through URL
- Through from
In PHP $_POST is used to collect form data.
In POST you send information to server in one way that is