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

Explain me what are the 3 scope levels available in php and how would you define them?

724


How can we calculate the similarity between two strings?

572


What backslash character will match whitespace?

562


Explain the difference between urlencode and urldecode?

517


What is the difference between $message and $$message in php?

420






What language is php written in?

577


What is php explain how php works?

516


Is php the same as html?

546


Does wordpress run on php 7?

507


Why do we need abstract class in php?

501


Can we extend multiple classes in php?

537


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

539


Tell me what is the use of explode() function?

542


What is difference between html and php?

498


Tell me how do I escape data before storing it into the database?

521