Thursday, 6 October 2011

Difference between get and post method


Get and Post Method used for pass data to data processing page, and are used for form data handling.

GET
POST
Get method transfer data through URL 
http://www.phpand.blogspot.com/index.php?fname=phpand&age=20
In post method data transfer will not appear in the browser
Get method have character restriction depends on browser. In old browser URL length is very less. 
Post method is no limit. The post method depends on post_max_size in the php.ini file
Get method data will be visible for every one(displayed in the browser's address bar)
Post data not visible and secure.
Get method data transfer speed is high
Data transfer speed is less.

0 comments:

Post a Comment