Mark Forums Read
Go Back   Web Design Forum Graphic Design Site Templates Flash CSS Discussions > BackEnd Development > PHP

Reply
 
Thread Tools Display Modes
  #11  
Old 12-23-2011, 04:09 AM
amankumar amankumar is offline
Senior Member
 
Join Date: Jul 2011
Posts: 146
amankumar is on a distinguished road
Default difference get and post

Both methods are used in form data handling where each one has some difference on the way they work. We will discuss some of the differences. GET method data gets transferred to the processing page in name value pairs through URL, so it is exposed and can be easily traced by visiting history pages of the browser.

Post method is does not have any memory limitations.it accepts too much information.
Reply With Quote
 #Add to Ads's Reputation  
OldSponsored Ads
Ads AdsPromoter is online
Member
 
Join Date: LongTime
Posts: 1100
Ads is on a distinguished road
Default New Sponsored Ads



This message will go away once you are registered. Also, by registering, you will have access to all post topics, communicate privately with other members (PM), respond to polls, upload graphics, and access other special features! Registration is fast, simple and absolutely free so please Click Here to join our Web Hosting community today!
Reply With Quote
  #12  
Old 02-16-2012, 01:58 PM
Elev8 Elev8 is offline
Junior Member
 
Join Date: Feb 2012
Posts: 3
Elev8 is on a distinguished road
Default

You can use $_REQUEST if you are unsure what data is to be received, or if it is a mix between post and get values.

As always, get and post data is the top target for hackers so; validate, validate, validate!
Reply With Quote
  #13  
Old 02-17-2012, 03:47 AM
Nafisa Nafisa is offline
Junior Member
 
Join Date: Dec 2011
Location: USA
Posts: 24
Nafisa is on a distinguished road
Default Difference

•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.
•Length - Since, GET request goes via URL, so it has a limitation for its length. It can't be more than 255 characters long (though this is browser dependent, but usually the max is 255 characters only). Whereas no such maximum length limitation holds for the POST request for the obvious reason that it becomes a part of the body of the HTTP request and there is no size limitation for the body of an HTTP request/response.
•Performance - GET request is comparatively faster as it's relatively simpler to create a GET request and the time spent in the encapsulation of the POST request in the HTTP body is saved in this case. In addition, the maximum length restriction facilitates better optimization of GET implementation.
•Type of Data - GET request is sent via URL string and as we all know that URL can be text-only, so GET can carry only text data whereas POST has no such restriction and it can carry both text as well as binary data.
•Caching/Bookmarking - again for the obvious reason that a GET request is nothing but an URL hence it can be cached as well as Bookmarked. No such luxuries with a POST request.
•FORM Default - GET is the default method of the HTML FORM element. To submit a FORM using POST method, we need to specify the method attribute and give it the value "POST".
•Data Set - GET requests are restricted to use ASCII characters only whereas POST requests can use the 'enctype' attribute with a value "multipart/form-data" to use the Universal Multiple-Octet Coded Character Set (UCS).
__________________
joomla website design
Reply With Quote
  #14  
Old 02-18-2012, 10:20 AM
canadaparka canadaparka is online now
Senior Member
 
Join Date: Jan 2012
Posts: 858
canadaparka is on a distinguished road
Default

<strong><a href="http://www.handbagever.com/louis-vuitton-2011-collection-c-2048.html">Louis Vuitton 2011 Collection</a></strong><br>
<strong><a href="http://www.handbagever.com/louis-vuitton-2011-collection-c-2048.html">Louis Vuitton Collection</a></strong><br>
<strong><a href="http://www.handbagever.com/louis-vuitton-2011-collection-c-2048.html">LV 2011 Collection</a></strong><br>
<strong><a href="http://www.handbagever.com/louis-vuitton-2010-collection-c-2001.html">Louis Vuitton 2010 Collection</a></strong><br>
<strong><a href="http://www.handbagever.com/louis-vuitton-2010-collection-c-2001.html">Louis Vuitton 2010 Collection cheap</a></strong><br>
.Listed each department by categories; I usually group the coupons by simply classification for instance Dairy, Banned Foods, Your own Needs, and additionally Baking or anything else...You can certainly organize your current coupons where ever way is best suited for for you will.<br /><br />&nbsp; Obtain some simple money protecting tips when working with <strong>coupons</strong>:<br /><br />1.Check a sale papers for supermarkets within your general area prior to going shopping.The reason I would recommend doing the reason is not every single store offers the same item on discount sales, so many times what you're looking for at another store more affordable and for people with a coupon you can save far more money.I manipulate this technique once or twice and surely could get items for a substantial reductions
Reply With Quote
 #Add to Ads's Reputation  
OldSponsored Ads
Ads AdsPromoter is online
Member
 
Join Date: LongTime
Posts: 1100
Ads is on a distinguished road
Default New Sponsored Ads



This message will go away once you are registered. Also, by registering, you will have access to all post topics, communicate privately with other members (PM), respond to polls, upload graphics, and access other special features! Registration is fast, simple and absolutely free so please Click Here to join our Web Hosting community today!
Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 09:56 AM.


Powered by vBulletin Version 3.6.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 2.4.0