GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Programming  >  PHP
Go To First  |  Previous Question  |  Next Question 
 PHP  |  Question 73 of 74    Print  
POST and GET Methods
Which will execute faster POST or GET? Explain


  
Total Answers and Comments: 5 Last Update: September 11, 2009     Asked by: raghuveerpm 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: Ankit087
 
Once most important difference is when you are sending the form with GET method. It displays name/value pair used in the form at the address bar of the browser preceded by url Whereas if you send the form with POST method then user can not see that information and Secondly When you want to send short or small data & Less Sensitive Data then you can use GET Method. But for long data & Sensitive Data sending, say more then 100 character you can use POST method.

Above answer was rated as good by the following members:
RITWIK DAS, su4surya
August 02, 2009 04:48:39   #1  
anithavelde Member Since: August 2009   Contribution: 1    

RE: POST and GET Methods
Both are same while performing the action but using POST security is there.
Because using GET method in the action form field values send along with URL so at the time of sending password problem will occur means password also will shown in the URL.
Using of POST there is no problem.

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
August 17, 2009 08:57:26   #2  
hiso007 Member Since: August 2009   Contribution: 1    

RE: POST and GET Methods
POST is most secure so it have to pass some process. GET is simple way to send via URL so it is will be fast.
 
Is this answer useful? Yes | No
August 18, 2009 04:43:21   #3  
Ankit087 Member Since: August 2009   Contribution: 1    

RE: POST and GET Methods
Once most important difference is when you are sending the form with GET method.
It displays name/value pair used in the form at the address bar of the browser preceded by url
Whereas if you send the form with POST method then user can not see that information and Secondly When you want to send short or small data & Less Sensitive Data then you can use GET Method. But for long data & Sensitive Data sending say more then 100 character you can use POST method.

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
August 22, 2009 10:19:22   #4  
ashish.gijare Member Since: February 2009   Contribution: 7    

RE: POST and GET Methods
Both are same in speed but POST is secure method bocz when you send any information by GET we can see all value & attribute in the adress bar.
 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
September 11, 2009 01:56:46   #5  
sgb_77 Member Since: September 2009   Contribution: 1    

RE: POST and GET Methods
POST method using for the moving into another pages means we are using two pages.
But GET methods using for the within the page (exp pagination & url calling)

Thanks & Regards
Ganesh
Sr.PHP Programmer
Yasmesoft
Hyderabad

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape