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

How do we get the current session id?

1 Answers  


Do you know what are traits?

1 Answers  


What is the static variable in function useful for?

1 Answers  


Can php run without server?

1 Answers  


Is time a dependent variable?

1 Answers  


What is query string php?

1 Answers  


What is difference between post and put in rest?

1 Answers  


What are the limitations or drawbacks of PHP ?

4 Answers   iDream,


Explain mysql_errno()?

1 Answers  


what is DDL and DML?

10 Answers  


How can you access a COM object from a PHP page?

1 Answers  


What are the advantages and disadvantages of Cascading Style Sheets?

1 Answers  


Categories