In PHP, $_REQUEST is a superglobal array that contains the contents of $_GET, $_POST, and $_COOKIE. It is commonly used to collect the ______ data after submitting an HTML form.

  • Form
  • Session
  • Server
  • Cookie
In PHP, the $_REQUEST superglobal array contains the combined data from $_GET, $_POST, and $_COOKIE. It is often used to collect the form data after submitting an HTML form. When a form is submitted, the data is sent either via the URL (GET method) or as part of the request body (POST method). The $_REQUEST superglobal provides a unified way to access the form data regardless of the submission method. By using $_REQUEST, you can collect the form data for further processing or validation. Learn more: https://www.php.net/manual/en/reserved.variables.request.php
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *