What is the difference between GET and POST method?

In PHP, both GET and POST method serves the same feature to get the data in variable. Still there is a lots of difference between the both. Can anyone please explain it in detail with the case where we can use GET and POST method in PHP.

View Answers

December 24, 2012 at 3:00 PM

difference between get and post method in PHP

  1. POST method is more secure than GET Method in PHP, as POST method never shows the assigned values into the URL. Where as GET Method always appends the value with URL.

  2. You can send unlimited data using POST method. Whereas GET method has some limitations.









Related Tutorials/Questions & Answers:
Advertisements