what is the difference between GET and POST?

Answers were Sorted based on User's Feedback



what is the difference between GET and POST?..

Answer / mahesh

both Get & Post Method is used to post data to server.
But by how it is displayed is the difference b/w them

Get Method : Not Secure, Data visible in url, oly 255 byte
charector can be allowed to transfer, able to bookmark this
page when next page is displayed...Preferred in normal
browsing

Post Method : Secure , Data is not visible in url, unlimited
data transfer , not able to bookmark this page.... Preferred
in Login System, ...

Is This Answer Correct ?    4 Yes 0 No

what is the difference between GET and POST?..

Answer / nikhilkumar bagla

GET :-
-it is used to send information from a form with Get Methods.
-it will be displayed in the browser's address bar(its visible).
-it has limits on the amount of information to send (max. 100 characters).
-When using method="get" in HTML forms, all variable names and values are displayed in the URL.

POST:-
-Information sent from a form with the POST method is invisible to others.
-it has no limits on the amount of information to send.
-by default 8 Mb max size for the POST method, (can be changed by setting the post_max_size in the php.ini file).

Is This Answer Correct ?    3 Yes 1 No

what is the difference between GET and POST?..

Answer / ashish kumar &amit kumar

Get is the method to send the data in very fast but it is
not secure . This data is submited as a part of url,it can
stoe only 18 from veriable.
post is the method to send the data in slow rate at compare
to get() method. It is secured than get(). data is not
visible in the url,it can post unlimited from varible.

Is This Answer Correct ?    2 Yes 0 No

what is the difference between GET and POST?..

Answer / yugandhar

GET:
-----
1. URL Changes to the submitted script name, appended with
a list
of each variable with the value.
2. Use only if the number of variable to be used in a form
ar very less.
3. Never use GET forms when asking for login ID and
passwords.
4. Even hidden variables are shown as a part of the URL.
5. A lot of webservers might complain about long URLs being
submitted.
A lot of times a URL 255 char or more is a problem.

POST:
-----
1. This is the best way of submitting forms to the web
server.
2. There is no limitation on the number of Variables passed
from the form.
3. This is a transparent way of transmitting variables to
the webserver
where hidden variable are always hidden!

Is This Answer Correct ?    2 Yes 1 No

what is the difference between GET and POST?..

Answer / ekta

Fundamental Difference is probably the Visibility - GET request is sent via the URL string (appended to the URI with a question-mark as separator), which is visible whereas POST request is encapsulated in the body of the HTTP request and can't be seen.

Is This Answer Correct ?    1 Yes 0 No

what is the difference between GET and POST?..

Answer / raghunandan rawat

The different of get and post
GET_is
datais submited as a part of url
it can stoe only 18 from veriable

post_is
data is not visible in the url
it can post unlimited from varible

Is This Answer Correct ?    15 Yes 15 No

what is the difference between GET and POST?..

Answer / khaleek ahmad

get and post are HTTP methods that are used to send request
to the server.Difference of them are listed below.

Get() transfer only 256 char. While there is not limit for post.

As the data transfers through address bar (URL) there are
some restrictions in using space, some characters like
ampersand (&) etc in the GET method of posting data. We have
to take special care for encoding data if such special
characters are present. While in post there is no restriction.

For more detail please see: -
http://interview-preparation-for-you.blogspot.com/2011/01/difference-between-get-and-post.html

Is This Answer Correct ?    1 Yes 1 No

what is the difference between GET and POST?..

Answer / khaleek

For more detail please see: -
<a
href="http://interview-preparation-for-you.blogspot.com/2011/01/difference-between-get-and-post.html">For
more detail please see: -
http://interview-preparation-for-you.blogspot.com/2011/01/difference-between-get-and-post.html</a>

Is This Answer Correct ?    1 Yes 1 No

what is the difference between GET and POST?..

Answer / yogesh

GET : GET method is a not secure long time period
POST : POST method is a long time period of future is
successfully work on the our file/project

(So better is POST than GET)

Is This Answer Correct ?    1 Yes 1 No

what is the difference between GET and POST?..

Answer / ashfaq

GET:
------
1. URL Changes to the submitted script name, appended with a list
of each variable with the value.
2. Use only if the number of variable to be used in a form ar very less.
3. Never use GET forms when asking for login ID and passwords.
4. Even hidden variables are shown as a part of the URL.

POST:
---------
1. This is the best way of submitting forms to the web server.
2. There is no limitation on the number of Variables passed from the form.
3. Hidden variable are always hidden!

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

How do you define a constant in php?

0 Answers  


What are new features in php 7?

0 Answers  


Design a class that should always return a single object ?

3 Answers   NIIT,


Is php closing tag necessary?

0 Answers  


what are the various PHP Script Optimization techniques?

1 Answers   IBM, Krify Software Technologies, TCL,






how many ways we get current date in php

9 Answers  


How to create an empty array in php?

0 Answers  


What are the differences between GET and POST methods?

0 Answers  


What does the arrow mean in php?

0 Answers  


write a program to generate bill screen 1.1st page should get the number of products to be billed. 2.2nd page should display the number of rows according to the number of products given in the first page. 3.Each row should have a text box for a.product name b.quantity c.unit price d.item price = quantity x unit price This should be automatically calculated not to be entered by the user. 4.After entering the products calculate sales-tax for the total amount which 8.25%. 5.After entering these values you have to generate the bill in the next page with a unique number for the bill. can anyone solve this problem..i am in need to solve this problem..pls help me

1 Answers   Yahoo,


How can we display information of a variable and readable by human with php?

0 Answers  


Why do we use php?

0 Answers  


Categories