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 is the best way to change the key without changing the value of a php array element?

0 Answers  


Is php used for frontend or backend?

0 Answers  


What are advantages of .htaccess?

0 Answers  


How many data types are there in php?

0 Answers  


Are php sessions cookies?

0 Answers  


What are getters and setters and why are they important?

0 Answers  


What is return value in php?

0 Answers  


how to include a datepicker in a form using php and mysql

2 Answers  


What does trim () do in javascript?

0 Answers  


What library is used for pdf in php?

0 Answers  


What is $this in php?

0 Answers  


How can we display the output directly to the browser?

0 Answers  


Categories