What is the difference between GET & POST ?

These both methods are based on the HTTP method.

The GET method transfer data in the form of QUERY_STRING. Using GET it provides a $_GET associative array to access data The post method transfer form data by HTTP Headers. This POST method does not have any restriction on data size to be sent. With POST method data can travel within the form of ASCII as well as binary data. Using POST, it provides a $_POST associative array to access data.

For Example: https://www.bestinterviewquestion.com/index.html?name1=value1&name2=value2

We have listed some of the PHP developer interview questions and answers for experienced as well as for freshers.

Suggest An Answer

No suggestions avaliable!

Latest post from PHP interview questions

Ask Question