What are differences between get and post method in php. Plz help me i am new in this field so i am not able differenciate between them.
If a GET request is used, the form parameters are encoded in the URL in what is called a query string.For example
A POST request, unlike a GET request, passes the form parameters in the body of the HTTP request, not in the URL.
Parameters remain in browser history because they are part of the URL
Can be bookmarked.
GET method should not be used when sending passwords or other sensitive information.
7607 character maximum size.
Url example: apple.php?category=fruit
Parameters are not saved in browser history.
Can not be bookmarked.
POST method used when sending passwords or other sensitive information.
8 Mb max size for the POST method.
Url example: apple.php