Re: Submitting as POST. Why?
| From: | Jochem Maas | Date: | Sat, 07 Apr 2007 00:43:12 +0000 |
| Subject: | Re: Submitting as POST. Why? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-252177@lists.php.net to get a copy of this message | ||
barophobia wrote:
> My Peeps,
>
> I only know of one reason to submit a form as POST and that is because
> you can submit more data in one shot.
>
>
> What other reasons are there?
upload a file?
not have bag of cruft in the url/addressbar?
because POST and GET are semantically different ...
POST assumes that the submission may have side effects (e.g. registration, send a email, update a
page)
GET assumes no such thing, you merely 'get' a page from the server.
>
>
>
> Chris.
>