Re: GET and POST
| From: | Dan Lowe | Date: | Fri, 29 Dec 2000 04:45:03 +0000 |
| Subject: | Re: GET and POST | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-32233@lists.php.net to get a copy of this message | ||
Previously, jelly b.good said:
> This seems to be a basic question but I really don't know it. What's
> the diffirent between GET and POST in form method?
GET encodes the query string in the URL, as in:
/yourscript.php?abc=123&file=somefile.txt&action=dosomething
POST sends them as part of the query in the form of headers (basically
the difference being they aren't visible in the URL).
I tend to use GET because it doesn't result in that stupid "This page has
expired because it was created by a POST operation" error when people click
the "back" button in their browser.
-dan
--
Dan Lowe <dan@tangledhelix.com> http://tangledhelix.com/
Procrastination is the art of keeping up with yesterday. -George Carlin