Re: Submit Using An Image Form Processing
| From: | Ashley Sheridan | Date: | Sun, 19 Jun 2011 12:33:47 +0000 |
| Subject: | Re: Submit Using An Image Form Processing | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-313608@lists.php.net to get a copy of this message | ||
tedd <tedd.sperling@gmail.com> wrote:
>At 6:34 PM -0500 6/18/11, Shawn McKenzie wrote:
>>
>>Get method is for retrieval only. It is not for anything that has a
>>consequence (insert, update, delete, send email, etc.). Use only post
>>for those.
>>
>>--
>>Thanks!
>>-Shawn
>
>
>Why?
>
>Cheers,
>
>tedd
>
>--
>-------
>http://sperling.com/
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
That's just the http spec. It's because browsers and servers know how to correctly handle
the different types of connections.
Some browsers make multiple connections for get, which is one of the main reasons for people having
problems with multiple hits on a page being registered when only one was expected.
Ashley Sheridan
http://www.ashleysheridan.co.uk
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.