note 110901 added to reserved.variables.get

From: Date: Fri, 21 Dec 2012 02:21:26 +0000
Subject: note 110901 added to reserved.variables.get
Groups: php.notes 
Request: Send a blank email to php-notes+get-192624@lists.php.net to get a copy of this message
A note in this page observes that "The GET variables are passed through urldecode()." In PHP versions before 5.4, GET variables (as well as POST data and cookie data) are by default also run through addslashes() (or its equivalent; see http://php.net/manual/en/function.addslashes.php). This depends on the magic_quotes_gpc option, which by default was on. The result of the default setting for PHP before 5.4 is that you may find extraneous backslashes mysteriously appearing in GET variables. ---- Server IP: 64.71.164.2 Probable Submitter: 65.19.20.174 ---- Manual Page -- http://php.net/manual/en/reserved.variables.get.php Edit -- https://master.php.net/note/edit/110901 Del: integrated -- https://master.php.net/note/delete/110901/integrated Del: useless -- https://master.php.net/note/delete/110901/useless Del: bad code -- https://master.php.net/note/delete/110901/bad+code Del: spam -- https://master.php.net/note/delete/110901/spam Del: non-english -- https://master.php.net/note/delete/110901/non-english Del: in docs -- https://master.php.net/note/delete/110901/in+docs Del: other reasons-- https://master.php.net/note/delete/110901 Reject -- https://master.php.net/note/reject/110901 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#192624) next »