Need Assistance?

support@tutorialshub.in

Forms, Superglobals & HTTP Handling

Understanding PHP Superglobals

ADVERTISEMENT
PHP Free Lesson
5 min read
ADVERTISEMENT

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 with method="POST"
  • $_SERVER — Server and request metadata (REQUEST_METHOD, REMOTE_ADDR, HTTP_HOST)
  • $_SESSION, $_COOKIE, $_FILES, $_ENV
ADVERTISEMENT
Hi, I'm Tuby! Here to help you