What is the diffrence between GET,POST and REQUEST Method.
Answer Posted / minaz
$_GET retrieves variables from the querystring, or your URL.
$_POST retrieves variables from a POST method, such as
(generally) forms.
$_REQUEST is a merging of $_GET and $_POST where $_POST
overrides $_GET. Good to use $_REQUEST on self refrential
forms for validations.
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
Tell me when a conditional statement is ended with an endif?
What is the difference between fopen() and fclose()?
Tell me what is the main difference between require() and require_once()?
What is the use of array_search() in php?
What does the unlink() function means?
Where are the persistent cookies stored on your computer?
How long does a php session last for?
Does php has a future?
Which will start a session?
How to break a file path name into parts?
Which function would you use to determine the length of a string in php?
What is the content of /etc directory?
Is c similar to php?
Define soundex()?
Why php is used?