advantages of get method?

advantages of get method?

php in what is advatages of get methods and how you can use get methods.

View Answers

May 26, 2011 at 11:59 AM

We all are familiar with disadvantages of GET method when compared to POST method. However, there is a real advantage of using GET when you are creating a link that access CGI scripts. It is easy to retrieve as the data is sent as name value pair at the end of the URL. These are then passed to the query string collection, and CGI script can retrieve these values directly. When using POST method, the name value pairs are sent in data file to the standard input in bytes. CGI scripts gets name value pairs from there. The main disadvantage of GET is that there is a limit on data that can be passed.


May 26, 2011 at 12:21 PM

The get method is a SEO friendly method. It makes easier to set up for small, non-secure data. The variables get passed through the URL string, so you don't have to try to attach it to headers or worry about forms.

Request of get method can be bookmarked, can be cached, are faster and have known consequences, so visiting them multiple times is not a problem.

You can find an example from the given link:

http://www.roseindia.net/php/php-Get-Post.shtml









Related Tutorials/Questions & Answers:
advantages of get method?
GET and POST methods
Advertisements
HTML form methods GET and POST
differences between GET and POST methods in form submit
methods
methods
methods
the Advantages of Struts
Advantages of JSF
Advantages of ORM
advantages of Servlets
Hibernate Advantages
Advantages of XML
What are the advantages and disadvantages of CSS?
VoIP Advantages
can we use scanner class,class , object and methods to get output without using constructor ????
AsyncContext Interface important methods
AsyncListener Interface important methods
Advantages of Testing tools
What are the advantages of Hibernate?
What are Advantages and Disadvantages of AJAX
Methods of HttpServlet
What are the advantages of using Stored Procedures?
static methods
Agile methods
native methods
What are the features and advantages of OBJECT ORIENTED PROGRAMMING?
Common Component Methods
Benefits of Outsourcing - Outsourcing Benefits and Advantages
validate() and reset() methods
Various methods of httpservletresponse interface
Servlet Methods
Advantages of Social Media marketing for Business
what is the Advantages moqui framework vs other frameworks
VoIP Advantages
Advantages of Outsourcing,The Benefits of Outsourcing,Offshore Outsourcing Advantages
Hibernate advantages and disadvantages
methods type - Java Beginners
ModuleNotFoundError: No module named 'methods'
Cookie methods in jsp
java object class methods
PHP list class methods
Java overloaded methods
factory methods in java?
Final Methods - Java Tutorials
Advantages of Spring Framework
abstract methods in java
Advantages of Cloud Computing
Advantages of GPS
Windows 8 Advantages and Disadvantages

Ads