what is the difference between GET and POST?
Answer Posted / ashfaq
GET:
------
1. URL Changes to the submitted script name, appended with a list
of each variable with the value.
2. Use only if the number of variable to be used in a form ar very less.
3. Never use GET forms when asking for login ID and passwords.
4. Even hidden variables are shown as a part of the URL.
POST:
---------
1. This is the best way of submitting forms to the web server.
2. There is no limitation on the number of Variables passed from the form.
3. Hidden variable are always hidden!
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is encapsulation in php?
Which function can be used to exit from the script after displaying the error message?
What does == mean in php?
Does exist in php?
Tell us how can we access the data sent through the url with the post method?
How to create reusable code in php?
How to write the form tag correctly for uploading files?
Explain the value of the variable input is a string 1,2,3,4,5,6,7. How would you get the sum of the integers contained inside input?
How to replace a text in a string with another text in php?
Tell me in php, objects are they passed by value or by reference?
Is php a dying language?
What beforeFilter() is used?
What is difference between web service and api?
How to test if a variable is an array?
What are headers in php?