Sr. PHP Programmer Question:
Download Questions PDF

What is the difference between GET and POST?


☛ GET displays the submitted data as part of the URL, during POST this information is not shown as it's encoded in the request.
☛ GET can handle a maximum of 2048 characters, POST has no such restrictions.
☛ GET allows only ASCII data, POST has no restrictions, binary data are also allowed.
☛ Normally GET is used to retrieve data while POST to insert and update.

Understanding the fundamentals of the HTTP protocol is very important to have a good start as a PHP developer, and the differences between GET and POST are an essential part of it.

Download Senior PHP Programmer Interview Questions And Answers PDF

Previous QuestionNext Question
What PSR Standards do you follow? Why would you follow a PSR standard?What is the meaning of a final class and a final method?