English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories
0

Hello,
thank you for looking on to my question

I have some small doubts regarding HTML Forms
Please Try to Help me

1> In form method what is the difference between "Get" and "post" ??

2> Do such forms work on free hosts like Geocities ??

3> If they do then what must be put into method ( get or post ?? ) ??



Thank You for putting in your time to look onto this question

Please try to answer.

:O)

2007-03-12 19:30:09 · 3 answers · asked by Wild S 1 in Computers & Internet Internet

3 answers

GET and POST are the two most used HTTP methods.

GET tells your browser to fetch data from a server, based on the form input. Most search engines use this because you can bookmark the generated URLs. Example:






will tell the browser to fetch the url at http://www.google.com/search?q=. You can always see the resulting URL of a GET form in your address bar. It's more or less like clicking a link. The values you entered will get in the browser's history, so it's not that secure to do logins etc. via GET. Other people at the same computer would just have to click a link in the history to log in.

POST tells your browser to send data to a server. The values sent remain invisible to the user (don't get into the address bar) and don't get into the browser's history.

On the server side (PHP, ASP, JSP, whatever), it doesn't really matter if you use GET or POST. Except for file uploads which must always be POST.

GET will work on any host. You can parse the URL with JavaScript and then do something with it. POST requires a server side scripting language like the ones I mentioned before. Geocities Pro offers Perl and PHP, but Geocities Free doesn't.

2007-03-12 20:17:05 · answer #1 · answered by GodBuster 5 · 0 0

1) GET and POST method is used to control the form values.
2) When using Get Method form details will displaying in the url. The post method does not display in the url.

2014-04-18 08:48:11 · answer #2 · answered by tutorials 1 · 0 0

hi there, all i know is

1) 'Get' is to get data from another form. 'Post' is to post the data entered in the current page to another form.

mostly 'post' is being used a lot in form...

hoped it helps

2007-03-13 02:52:09 · answer #3 · answered by farina m 4 · 0 0

fedest.com, questions and answers