what is the difference between GET and POST?

Answer Posted / 111

GET :
- GET method have not security because of data view in
addressbar. For ex: we can not use this method for checking
login
- We can bookmark link with this method
- Server can log all action
- because of server log, we can pass 255 char. as query
string

POST:
- POST method have security of data.
- We can not bookmark page link
- We can pass unlimited data by this method as query string

Is This Answer Correct ?    19 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to turn on the session support?

571


Tell me what does the array operator '===' means?

529


Is php 7 backwards compatible?

599


How to randomly retrieve a value from an array?

553


Which variable declarations within a class is invalid in php?

505






How is it possible to set an infinite execution time for php script?

520


What is the use of limit in mysql?

512


What is an abstract class in php?

478


Suppose we receive a form submitted by a post to subscribe to a newsletter. This form has only one field, an input text field named email. How would we validate whether the field is empty? Print a message "the email cannot be empty" in this case?

678


What is an associative array?

555


Explain the difference between php4 and php5.

556


How do you destroy a session?

502


What is php and why it is used?

553


What is whitespace in php?

510


How do I make a reset button in html?

517