What is the diffrence between GET,POST and REQUEST Method.

Answer Posted / nikunj

GET : When you use this method then variables are view in
the addressbar. If you want security then don't use this
method. That mean in this method have not security. When
you passing value by this method then only 255 char you can
pass. Its useful when you want to bookmark page.

POST: When you passing value by this method then you can
not view value in addressbar of explorer. It is secure then
GET. This method have not any limit for passing value. You
can not bookmark link by this method. If you want to server
log then you can not get by using this method.

REQUEST: When you use GET and POST method then by REQUEST
method you can make request to server and get value of
variable.

Is This Answer Correct ?    36 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is array filter php?

692


How many different types of messages available in php?

730


Tell me how can we get the error when there is a problem to upload a file?

694


Explain me what is x+ mode in fopen() used for?

737


Is it possible to protect special characters in a query string?

742


What is x+ mode in fopen() used for?

729


What is associative array in php?

716


Why php was called as personal home page?

726


What is "print" in php?

684


What are majic methords in php?

797


Write logic to print Floyd's triangle in PHP?

738


What is $_ env in php?

708


How does the identity operator === compare two values?

855


Explain me what is the difference between explode() and split() functions?

740


What is php regular expression?

684