Which superglobal is used to access data sent via the HTTP POST method?

PHP Intermediate Medium

PHP Intermediate — Medium

Which superglobal is used to access data sent via the HTTP POST method?

Key points

  • $_POST specifically targets POST request data
  • $_REQUEST is a combined superglobal
  • $_FILES handles file uploads specifically

Ready to go further?

Related questions