what is the difference between GET,POST and REQUEST in php



what is the difference between GET,POST and REQUEST in php..

Answer / mishra ashutosh

GET
data that is send can be seen in the address bar.so not secure.It has a data size limit.
POST
data is not visible to user, and has more size limit then GET

Both GET and POST can be used as method in form tag.
but REQUEST can't be used there.
REQUEST is generally used where we are not sure about the method whether the data are coming thru POST or GET method.
it is used to get the from data only.


Feel free to ask anything regaring php,mysql,js.
mishraa_007@rediffmail.com

Is This Answer Correct ?    15 Yes 1 No

Post New Answer

More PHP Interview Questions

What can php do?

0 Answers  


What is encapsulation in php?

0 Answers  


What is in a cookie?

0 Answers  


What is orm in php framework?

0 Answers  


Write a program in php to reverse a number?

0 Answers  






What is PEAR in PHP?

3 Answers  


How to read the entire file into a single string?

0 Answers  


What is php regular expression?

0 Answers  


Which cryptographic functions in php returns the longest hash value?

0 Answers  


Steps for the payment gateway processing?

0 Answers  


Why do we use htaccess and where?

0 Answers  


How can I use single quotes in single quotes in php?

0 Answers  


Categories