From this php post vs get method - php superglobals video tutorial, you can learn and gain basic concept about php superglobals variables $_POST and $_GET. We know that there are 2 ways the online or website client can send information to the web server. These are-
01. The POST Method or $_POST Method
02. The GET Method Or $_GET Method
First, PHP $_POST - PHP $_POST is often or majority used to collect data from html form,after submitting by clients and an HTML form with method="post" used for collecting data. Besides PHP $_POST is also extensively used to pass variables in php programming.
Second, PHP $_GET - PHP $_GET can also be used as like as to collect data from html form after submitting by users into HTML Form and an HTML form with method="get" used for collecting data.
Besides $_GET method or $_GET superglobas variables can also pass or sent data in the URL.
The main difference between get and post method in php is that $_GET method is not secure cause $_GET $_get php method pass data via url and its publicly visible but on the other hand, php post method or $_POST in php is most secure and very fast rather than $_GET method. $_POST in php is most secure cause, $_POST superglob variables don`t sent data via url (I mean $_POST method sent will not visible by public) for this $_POST widely used and its most secure for collecting data from html form.
So the main poin in this video is that:
$_post in php
$_get php
$_get vs $_post php or php post vs get method
get and post method in php with example
So I hope you will enjoy this video.....
Check our previous video- it will help you to understand this tutorial more:
• PHP $_request - Superglobals variable...
Join our social community for further supports at
/ wcoderzone
/ pjsonly.programmer
/ wcoderzone
Thanks for watching and wish you GoodLuck....