note 41280 added to language.variables.predefined

From: Date: Mon, 05 Apr 2004 13:38:31 +0000
Subject: note 41280 added to language.variables.predefined
Groups: php.notes 
Request: Send a blank email to php-notes+get-67655@lists.php.net to get a copy of this message
Having trouble with register_globals set to off, and no way of turning it on because of your hosting agreement, or trying to move a legacy PHP site? foreach ($_GET as $key => $value) { $$key = $value; } This function sets global variables for all of variables sent via GET. I.e. http://www.somewhere.com/myscript.php?name=value sets a global variable $name = "value" Obviously this has security implications, so use wisely! ---- Manual Page -- http://www.php.net/manual/en/language.variables.predefined.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+41280 Delete -- http://master.php.net/manage/user-notes.php?action=delete+41280&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+41280&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#67655) next »