Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.php Subject: Re: Newby neds help Date: Sun, 08 Feb 2015 21:58:51 +0100 Organization: PointedEars Software (PES) Lines: 29 Message-ID: <1839166.EmLIn1UUa8@PointedEars.de> References: <6rtcdahf5gqka5aavks1kub18uoqnd7ajl@4ax.com> Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Trace: solani.org 1423429255 2927 eJwFwQERADEIAzBL3YAW5PzD4V/CkjAetpxBj43NOV6qn9VIjOQQEci9tzzv4COsraxDi3n2Jw+/ (8 Feb 2015 21:00:55 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Sun, 8 Feb 2015 21:00:55 +0000 (UTC) User-Agent: KNode/4.14.2 X-User-ID: eJwNyEkBwDAIBEBLnBuQAyH4l9DOc1zBuMfgMF9fqhgd6uEiWeTsao9pV8CYBMg3RzL23s4VUi+8/1QqLOYDZykV9Q== Cancel-Lock: sha1:tCoZFq49oQlnefSO75H5QC4zfNI= X-NNTP-Posting-Host: eJwFwQkBACAIA8BK8g2NI+D6R/AuDIJOR8CDwZNsQ9XdS5y919TJVCGgpBJSZx5Ky+5+Ph8kYRGc Xref: csiph.com comp.lang.php:14912 Christoph M. Becker wrote: > Denis McMahon wrote: >> A POST request may indeed be more appropriate than a GET request, that is >> a decision for the developer to make. However, there is no rule that >> states "form data must only be transferred to the server using POST". > > No, of course there is no such rule. There are, however, strong recommendations in the HTTP/1.1 Specification as to when verbs SHOULD NOT be used. (Questions about this can be part of the ZCE PHP exam.) > It would not make much sense, for example, to submit data of a search form > via a POST request. Yes, it would. Apparently you are unaware of the URI length limit imposed by browsers, especially Internet Explorer, and of search-by-resource. -- PointedEars Zend Certified PHP Engineer Twitter: @PointedEars2 Please do not cc me. / Bitte keine Kopien per E-Mail.