Superglobals are built-in associative arrays available anywhere in your script:
$_GET— URL query string parameters (e.g.,?search=php)$_POST— HTML form data submitted withmethod="POST"$_SERVER— Server and request metadata (REQUEST_METHOD,REMOTE_ADDR,HTTP_HOST)$_SESSION,$_COOKIE,$_FILES,$_ENV
ADVERTISEMENT