$_POST
superglobal variable holds the values sent via HTML Form
by using method="POST"
. This $_POST
method most widely used one for sending PHP Form values to server-side programming language. It is very secure, so all the information passed in a secure way, and the User cannot see any information in the browser. If you see the Login form on any website, then they may use this POST
method to pass the form values to the server for processing.
For Example :
Output : when we type any input in name box