1.

How To Get The Http Request In Php?

Answer»

When PHP is used on a Web server to HANDLE a HTTP request, it converts information submitted in the HTTP request as PREDEFINED variables:

  • $_GET - Associate ARRAY of variables submitted with GET method.
  • $_POST - Associate array of variables submitted with POST method.
  • $_COOKIE - Associate array of variables submitted as cookies.
  • $_REQUEST - Associate array of variables from $_GET, $_POST, and $_COOKIE.
  • $_SERVER - Associate array of all information from the server and the HTTP request.

When PHP is used on a Web server to handle a HTTP request, it converts information submitted in the HTTP request as predefined variables:



Discussion

No Comment Found