$_GET, $_POST and $_REQUEST in PHP

Q

Where Is the Submitted Form Data Stored in PHP?

✍: FYIcenter.com

A

When a user submit a form on your Web server, user entered data will be transferred to the PHP engine, which will make the submitted data available to your PHP script for processing in pre-defined arrays:

  • $_GET - An associate array that store form data submitted with the GET method.
  • $_POST - An associate array that store form data submitted with the POST method.
  • $_REQUEST - An associate array that store form data submitted with either GET or POST method. $_REQUEST also contains the cookie values received back from the browser.

 

Retrieving Submitted Form Data in PHP

Generating a Form in PHP

Processing Web Forms in PHP

⇑⇑ PHP Tutorials

2016-11-15, 3687🔥, 0💬