$_post in php refers to the predefined $_POST variable, which is used to collect values from the form with "method="post""; the information sent from the form with the POST method is valid for any People are invisible, and there are no limits on how much messages can be sent.
Recommended: "PHP Video Tutorial"
In PHP, the predefined $_POST variable is used to collect Value from the form with method="post".
$_POST variable
The predefined $_POST variable is used to collect values from the form with method="post".
Information sent from a form with the POST method is invisible to anyone (will not be displayed in the browser's address bar), and there is no limit on the amount of information sent.
Note: However, by default, the maximum amount of information sent by the POST method is 8 MB (can be changed by setting post_max_size in the php.ini file).
Example
form.html file code is as follows:
When the user clicks the "Submit" button, the URL is similar to the following:
http://www.runoob.com/welcome.php
" welcome.php" file can now collect form data via the $_POST variable (note that the names of the form fields automatically become keys in the $_POST array):
欢迎 !
你的年龄是 岁。
The above is the detailed content of What does $_post mean in php. For more information, please follow other related articles on the PHP Chinese website!