Get() and Post methods() Anonymous User128009-Jul-2018Difference between Get() and Post methods() ??phpweb development php phpmyadmin Updated on 10-Jul-2018
Prakash nidhi Verma
10-Jul-2018Difference between Get() and Post methods() :
GET(Requests data from a specified resource) :
- requests can be cached
- $_get is an array which is passed via URL parameter
- requests remain in the browser history
- GET method is visible to everyone which is shown in URL
- requests can be bookmarked
- requests have length restrictions
- requests should be used only to retrieve data
POST(Submits data to be processed to a specified resource) :
- requests are never cached
- $_post is an array which is passed by HTTP POST method
- requests do not remain in the browser history
- POST method is invisible to everyone which is not shown in URL
- requests cannot be bookmarked
- requests have no restrictions on data length