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 |
What is php variable?
What is the purpose of the '.myi' file extension? What do thes file contain?
Tell me what is the definition of a session?
How is it possible to parse a configuration file?
Explain what is meant by pear in php?
What is meant by variable variables in php?
What is php resource type?
Is age an interval or ratio?
How do i explode this string '||25||34||73||94||116||128' i need to have a array like this array ( 0 => '25', 1 => '34', 2 => '73', 3 => '94', 4 => '116', 5 => '128' ) explode("||", $array); didnt work for me i get this array array ( 0 => '', 1 => '25', 2 => '34', 3 => '73', 4 => '94', 5 => '116', 6 => '128', )
What is return value in php?
How can you associate a variable with a session?
What are the advantages of indexes?