Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: "Christoph M. Becker" Newsgroups: comp.lang.php Subject: Re: Newby neds help Date: Sun, 08 Feb 2015 01:29:17 +0100 Organization: solani.org Lines: 16 Message-ID: References: <6rtcdahf5gqka5aavks1kub18uoqnd7ajl@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: solani.org 1423355357 25547 eJwNysERACEIA8CWQAlIOUw0/Zdwt+/FTk9WJDIg6KzDpysB4cOp2zavOcJ148Tu/5Ptq9KiPzlWEZQ= (8 Feb 2015 00:29:17 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Sun, 8 Feb 2015 00:29:17 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 X-User-ID: eJwFwYEBwDAEBMCViCdvHA32H6F3bqHxLsIDvr6wdjsMgbdmStaelk8G92hhlsVJbnMor/ADBZIQ2w== In-Reply-To: Cancel-Lock: sha1:jjKJBrcNWxr5z7W/+2GJV2gmlTI= X-NNTP-Posting-Host: eJwVyNEVwEAEBMCW4rFEOc7SfwmXvPkbqIt3mMMN+4HYdmlMJdHUpzvoWWJn3kkl/vcgC7PnAi2UEjA= Xref: csiph.com comp.lang.php:14897 Denis McMahon wrote: > Then use php to read the submitted user data from the $_POST or $_GET > array (depending which form method you use) and process it into your > survey, using appropriate data validation and verification. It seems to be noteworthy that the form method should not be subject to an arbitrary choice of the developer, but rather should comply to RFC 7231 section 4[1]. Therefore a GET request would be inappropriate, denis. [1] -- Christoph M. Becker