1. $_REQUEST
$_REQUEST in php can obtain data submitted by the POST method and GET method, but the speed is relatively slow
2. $_GET
is used to obtain data submitted by the browser through the GET method. The GET method adds parameter data to the URL pointed to by the action attribute of the submitted form. The value corresponds to each field in the form and can be seen in the URL. However, it has the following shortcomings:
1. Security No, it can be seen in the URL
2. The amount of data transferred is small and cannot be larger than 2KB.
3. $_POST
is used to obtain data submitted by the browser through the POST method. The POST method uses the HTTP POST mechanism to place each field of the form in the HTTP HEADER and transmit it to the URL address pointed to by the action attribute. The user cannot see this process. The size of his submission is generally unrestricted, but it varies slightly depending on the server. Compared with the _GET method, it is slightly more secure
4. The differences and connections between $_REQUEST, $_POST, and $_GET
$_REQUEST["parameter"] has the function of $_POST["parameter"] $_GET["parameter"] , but $_REQUEST["parameter"] is slower. All data submitted through the post and get methods can be obtained through the $_REQUEST array ["parameters"]
The above has introduced the differences and connections between $_REQUEST, $_POST, and $_GET in 400 bad request PHP, including the content of 400 bad request. I hope it will be helpful to friends who are interested in PHP tutorials.