what is the difference between GET and POST?

Answer Posted / uttam thakor

The method attribute specifies the HTTP method to use when
sending the request. If unspecified, then the value of
?GET?, (default) is assumed, unless the submission of
multipart/form-data is encountered, in which case the
implied method will be ?POST?.

GET form contents are passed as part of the URL, as a QUERY
STRING.

POST form contents are passed to the script as an input file

As a result, much more form data can be passed, since you
can't run into the limit on the length of a URL or the
length of a command line or command line argument on the
server.

Is This Answer Correct ?    113 Yes 28 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is empty check in php?

556


Explain what is the difference between mysql_fetch_array() and mysql_fetch_assoc()?

463


Explain the syntax for ‘foreach’ loop with example.

495


Why php is also called as scripting language?

548


What is the purpose of the php empty function?

488






How can I convert ereg expressions to preg in php?

474


How can php and javascript interact?

742


How do you destroy a particular or all Sessions?

573


Do you know how to get the ip address of the client?

514


Explain about switch statement in PHP?

584


What is abstract class php?

514


What are the different ways to login to a remote server?

479


Is session a cookie?

555


Which is not a php magic constant?

572


What is the difference between laravel and php?

498