note 38986 added to reserved.variables

From: Date: Wed, 14 Jan 2004 08:09:48 +0000
Subject: note 38986 added to reserved.variables
Groups: php.notes 
Request: Send a blank email to php-notes+get-63491@lists.php.net to get a copy of this message
_GET, _POST, and _REQUEST will contain HTML-URLDecoded forms of the posted data and/or query string. That is, it does standard URI decoding andl additionally do the '+' (plus sign) to space decoding assuming the Query String is of application/x-www-form-urlencoded format. For those looking, neither RFC2616, nor RFC2396 indicate the '+' / space translation, it is a part of the HTML specification for POST/GET form encoding (the default format). The specification for & and = parameter separation is also a part of the HTML format. If you are using a different format, or do not want the + to space convesion, you need to parse the QUERY_STRING (or RAW post data) yourself. ---- Manual Page -- http://www.php.net/manual/en/reserved.variables.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+38986 Delete -- http://master.php.net/manage/user-notes.php?action=delete+38986&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+38986&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#63491) next »