Re: [PHP] GET and POST From: Dan Lowe (dan <email protected>)
Date: 12/28/00

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 <email protected>>			http://tangledhelix.com/
  
Procrastination is the art of keeping up with yesterday.  -George Carlin

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>