Subscribe To Our Newsletter

Sign Up Now To Get Free Coupon Codes, Event Coupon Codes Updates, Offers Updates. It's 100% Free!

We Hate Spam! Really, It's terrible and we never do it.

Difference Between $_GET[] And $_POST[] : Brief Description


Both $_GET[] and $_POST[] are methods for sending HTTP requests, with or without forms.

  1. $_GET[] is method for querying data, basically any operation that doesn't cause changes on the server (like a search).
  2. $_POST[] is the opposite (like user registration, Posting comments on an article, etc...) Although the article is correct when saying that passwords should never be sent using $_GET[].
  3. $_GET[] IS NOT more secure than $_POST[], this is a very dangerous misconception.
  4. Also, the whole "$_GET[] is faster" thing is pointless, irrelevant and can lead to additional mistakes.
  5. Both methods are transparent.
  6. The only difference is that $_GET[] shows in the URL, but you can easily view $_POST[] data using tools such as Firebug or many others.
  7. Aside from that, both $_POST[] and $_GET[] requests can be exploited using widget.
  8. They are both communication methods, not intended to be more or less secure.
  9. It's our duty as programmers to validate, filter and apply security measures to ALL user input, no matter which method was used to send them.
  10. [Contribution : Er Galvão Abbott ] But we all already know this; no one is secure on internet.
  11. Anyone can track you, can try to hack you and your data. Some times it can be great lost of yours. So in development, we need to learn some methods and styles, which we can use for our safety.
  12. $_GET[] processing is fast than $_POST[] processing.
  13. Yes it is very little difference but we can not decline it. In $_GET[] Parameters are saved in browser history because of its URL part and but in $_POST[] Parameters never saved.
  14. In $_GET[] URLs can not bookmarked and saved but in $_POST[] you are not able to bookmark or save them.
Note : Don't $_GET[] Method, if you need to send important information like password, important information etc. try to use $_POST[] method in this time.
In $_GET[] you can use maximum 7607 characters easily, but in $_POST[] you can use 8 MB Maximum size. It is awesome limit.
Examples of $_GET[] Method :
http://www.qwc.me/index.php?FName=Samee+Ullah&LName=Feroz&Number=3234223945
Anyone can track you easily by it
Example of $_POST[] Method:
http://www.qwc.me/index.php
It is good for your security. and It is mostly used for SEO purpose.
Share this article :

Post a Comment

Give your reviews about this blog. Leave your comments. what do you think about this post?

Comments Description is given below:
1) I love to read comments, but do not spam.
2) Like this blog and also tweet its posts.
3) You can use some xHTML tags.
4) All Comments are Do Follow, Please try to use blog professionally.
5) Mention Your Name below the comment.
6) You can also suggest for improvement.
7) Do not forget to subscribe Samee Articles blog.

---------------------------------------
Thanks for visiting QWC.Me.
==========================================
For free guidelines contact me on SEO Expert | Samee Ullah Feroz is online there.
==========================================
Best Regards

 
Support : | Internet Marketing Specialist And Business Developer
Copyright © 2013-2016. Samee Articles - All Rights Reserved
Proudly powered by Blogger