Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

difference between GET and POST method

This is a discussion on difference between GET and POST method within the PHP forums, part of the Web Development category; What are the differences between Get and post methods in form submitting, give the case where we can use get and we can use post methods?...

Go Back   Geeks Talk > Web Development > PHP
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read

PHP PHP - The most popular scripting language. Discuss PHP related questions here. Sample Scripts, Popular downloads, tools and utilites and more...

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-14-2008
Junior Member
 
Join Date: May 2008
Location: mumbai
Posts: 2
Thanks: 0
Thanked 3 Times in 1 Post
ajitnaik is on a distinguished road
difference between GET and POST method

What are the differences between Get and post methods in form submitting, give the case where we can use get and we can use post methods?
Reply With Quote
The Following 3 Users Say Thank You to ajitnaik For This Useful Post:
Sponsored Links
  #2 (permalink)  
Old 05-14-2008
Junior Member
 
Join Date: May 2008
Location: malaysia
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
masternyi is on a distinguished road
Re: difference between GET and POST method

Quote:
Originally Posted by ajitnaik View Post
What are the differences between Get and post methods in form submitting, give the case where we can use get and we can use post methods?
using get method is not secure, ur informations will be appeared in the url address. using post method is much secure it will not appear in the url address. eg.secure for using post method in login form.
Reply With Quote
  #3 (permalink)  
Old 05-15-2008
Junior Member
 
Join Date: May 2008
Location: mumbai
Posts: 2
Thanks: 0
Thanked 3 Times in 1 Post
ajitnaik is on a distinguished road
Re: difference between GET and POST method

Quote:
Originally Posted by ajitnaik View Post
What are the differences between Get and post methods in form submitting, give the case where we can use get and we can use post methods?
in GET method the variable value that submitted to other form is append along with URL.
Reply With Quote
  #4 (permalink)  
Old 08-21-2008
Junior Member
 
Join Date: Aug 2008
Location: india
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
anujm1_1 is on a distinguished road
Re: difference between GET and POST method

Get-> we can transfer limited data and its not secure.
post-> we can transfer unlimited data. ans its a secure.

By
Anuj Maheshwari
Reply With Quote
  #5 (permalink)  
Old 08-21-2008
Junior Member
 
Join Date: Feb 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
deep0000 is on a distinguished road
Re: difference between GET and POST method

using get method is not secure, ur informations will be appeared in the url address. using post method is much secure it will not appear in the url address. eg.secure for using post method in login form.
Get-> we can transfer limited data and its not secure.
post-> we can transfer unlimited data. ans its a secure.
Reply With Quote
  #6 (permalink)  
Old 09-01-2008
Junior Member
 
Join Date: Sep 2008
Location: Hyderabad
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
praveen.peddinti is on a distinguished road
Re: difference between GET and POST method

GET->In Get() transfer only 256 char.and it's not secure and the information will appear in the browser.GET() will not using login time.
POST->In POST transer unlimited data and it's is sucure and the information will not appear in the browser
Reply With Quote
The Following User Says Thank You to praveen.peddinti For This Useful Post:
  #7 (permalink)  
Old 12-05-2008
Banned
 
Join Date: Mar 2008
Location: India
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
acp_btech06 is on a distinguished road
Re: difference between GET and POST method

Get Method:in get method data is append in url and information will appear in URL hence it is not secure method to send data however processing is fast in get method and it can transfer only limited number of data.

Post Method: Post method is secure as compared to get method since it does not appear in url and u can transfer unlimited number of data but processing is very slow as compared to get method. Now another thing is that when you have to upload some data u should have to use post method.
Reply With Quote
  #8 (permalink)  
Old 01-11-2009
Junior Member
 
Join Date: Jan 2009
Location: San diego
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
ankitgupta.sdsu is on a distinguished road
Re: difference between GET and POST method

Get : We can use get where our information is not secured and not so important. This is not used for secured data , because problem is data will be appened on url and it can be seen by every user so data didnot remain secured .

But for secured information it is suggested to use POST rather than Get
Reply With Quote
  #9 (permalink)  
Old 02-28-2009
Junior Member
 
Join Date: Dec 2008
Location: baroda
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
hemant pancholi is on a distinguished road
Thumbs up Re: difference between GET and POST method

Hello Friend,

POST & GET method is use for the transer the data from the one page to other page.

If you you the GET method than whatever data you pass is passed through the URL string, and that data is show to publically. So with using the GET method is not much secure compare the POST method.

If you use POST method than all the form element value is passed from the header response. which we can get with using the $_POST method.

With POST method there is no limit, but GET method has some limit for pass the data.
Reply With Quote
  #10 (permalink)  
Old 03-16-2009
Junior Member
 
Join Date: Mar 2009
Location: bhubaneswar
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
dugu4u is on a distinguished road
Re: difference between GET and POST method

Quote:
Originally Posted by ajitnaik View Post
What are the differences between Get and post methods in form submitting, give the case where we can use get and we can use post methods?

actually when u need the data to be more secure and have a huge amount of information to transfre to the database u use the post method.

however u can use the get method when u want the transfer should be fast and no problem displaying the information as a querystring.u can use the get method .generally wid small amount of info we use getmethod where data is less sensitive.
Reply With Quote
  #11 (permalink)  
Old 3 Weeks Ago
Junior Member
 
Join Date: Nov 2009
Location: India
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Akansh_Rai is on a distinguished road
Re: difference between GET and POST method

1. In get method all the data travel by the URL but in Post it not go through the URL.

2. in GET data is visible to the user but in post it is not visible.

3. U can not make a bookmark by using GET but in POST u can.

4. GET is for less data transfer but POST can take a large amount of data.
Reply With Quote
Reply

  Geeks Talk > Web Development > PHP

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Difference between method overriding and overloading nancyphilips OOPS 25 3 Weeks Ago 06:11 AM
Using POST method:ASP.NET saswata.purkayastha AJAX & XML 0 04-27-2007 07:46 AM
What is POST Robert Java 3 02-07-2007 12:25 AM
don't post like this.... psuresh1982 Brainteasers 3 01-15-2007 02:53 AM
Problem for my post.... psuresh1982 Suggestions & Feedback 1 12-14-2006 04:32 AM


All times are GMT -4. The time now is 12:37 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved