Re: Submit Using An Image Form Processing

From: Date: Sun, 19 Jun 2011 13:20:46 +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-313611@lists.php.net to get a copy of this message
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

« previous php.general (#313611) next »