The built-in $_POST function is used to collect values in a form with method="post".
----------------------------------------------------------------------------------------------------------------------------------
Information sent from a form with the POST method is invisible to others and has no limits on the amount of information to send.
*NOTE: However, there is an 8 Mb max size for the POST method, by default (can be changed by setting the post_max_size in the php.ini file). For instances:
When the user clicks the "Submit" button, the URL will look like this:
http://www.example.com/welcome.php
The "welcome.php" file can now use the $_POST function to collect form data (the names of the form fields will automatically be the keys in the $_POST array):
.jpg)


0 comments:
Post a Comment