From baf519061ddf0e1516affbc8bdd5a50e42fa25d5 Mon Sep 17 00:00:00 2001 From: Gabor Hojtsy Date: Sun, 5 May 2002 09:19:11 +0000 Subject: [PATCH] Adding note about what prefix is used for git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@81261 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/var/functions/import-request-variables.xml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/reference/var/functions/import-request-variables.xml b/reference/var/functions/import-request-variables.xml index 7bcfe045ae..5eaf5c9076 100644 --- a/reference/var/functions/import-request-variables.xml +++ b/reference/var/functions/import-request-variables.xml @@ -1,5 +1,5 @@ - + @@ -30,6 +30,13 @@ variables will overwrite GET variables with the same name. Any other other letters then GPC are discarded. + + The prefix parameter is used as a variable + name prefix, prepended before all variable's name imported into the + global scope. So if you have a GET value named "userid", and provide + a prefix "pref", then you'll get a global variable named + $pref_userid. + Although the prefix argument is