![]() |
![]() |
Products |
This is a revenue share forum | ||
|
|||
|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
GET and POST methods
GET and POST methods
Does anyone know exactly when to use the GET and when to use the POST methods, why and why not? Thanks in advance. |
|
||||
|
Well GET shows the variables in the web address of the php page that you send it to.
I would say the strongest argument for GET is that it's great for web services. Where another coder can feed variables and pull content from your php page. POST is better for SEO because Google gets grumpy if there is more than 2 variables in the http address. |
|
||||
|
GET displays your variables in your URL like: Sample. Not good for sensitive datas like password but good for bookmarkings, these can be indexed.
While POST normally used for sending large amount and sensitive datas usually for user login or registration etc.. This cannot be indexed because variables are not being displayed in your URL. |
|
||||
|
if you do not have bulk variable transfer then use GET else POST
__________________
Hire php programmer for custom and open source customization. Last edited by amberlong83; 06-25-2009 at 04:41 AM. |
|
||||
|
In most cases we use POST.
For example, if you setup a form to ask user to enter their name and email address, that is using POST action. GET is not commonly used (at least in the context of internet marketing related website). |
|
||||
|
get or post is one type method . They are view for website .but get method view URL address but when we use post method so do not view address in URL . means post method are hidden URL address.get and post method are use in scripting language.
|
|
||||
|
I am also asking of this. thank you for your answer.. Get and Post Method
|
|
||||
|
thank you for your answer
|
|
||||
|
GET has the querystring format like
forum.com/page?id=5 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Products |
This is a revenue share forum |
|
|
![]() |
![]() |
![]() |