Re: Submit Using An Image Form Processing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/19/2011 07:26 AM, tedd 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
> 

The convention has been established that the GET and HEAD methods SHOULD
NOT have the significance of taking an action other than retrieval.
These methods ought to be considered "safe". This allows user agents to
represent other methods, such as POST, PUT and DELETE, in a special way,
so that the user is made aware of the fact that a possibly unsafe action
is being requested.

http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html

-- 
Thanks!
-Shawn
http://www.spidean.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux