Ancient Temple City

What is the difference between GET, POST and REQUEST method in php?

There are 2 methods to send HTML form data from 1 Page to another or HTML page to server side in PHP.

POST
It is a method in which data gets sent using packet which is not visible to any user on web-browser. it is secured compared to GET method.

GET
It is a method in which data gets sent with URL which is visible to user in address-bar of any web-browser. So, it’s not secure as POST method.


Now, There are total three methods to catch this data in PHP.

POST: It can catch the data which is sent using POST method.
GET: It can catch the data which is sent using GET method.
REQUEST: It can catch the data which is sent using both POST & GET methods.
Labels:
Reactions:

Post a Comment

[blogger]

MKRdezign

{facebook#http://www.facebook.com/GTVCreations} {twitter#http://www.twitter.com/GTVCreations} {google-plus#http://www.google.com} {pinterest#http://www.pinterest.com} {youtube#http://www.youtube.com} {instagram#http://www.instagram.com}

Contact Form

Name

Email *

Message *

Powered by Blogger.
Javascript DisablePlease Enable Javascript To See All Widget