cvs: phpdoc /en/reference/var/functions import-request-variables.xml

From: Date: Sun, 05 May 2002 09:19:11 +0000
Subject: cvs: phpdoc /en/reference/var/functions import-request-variables.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969345255@lists.php.net to get a copy of this message
goba Sun May 5 05:19:11 2002 EDT Modified files: /phpdoc/en/reference/var/functions import-request-variables.xml Log: Adding note about what prefix is used for Index: phpdoc/en/reference/var/functions/import-request-variables.xml diff -u phpdoc/en/reference/var/functions/import-request-variables.xml:1.2 phpdoc/en/reference/var/functions/import-request-variables.xml:1.3 --- phpdoc/en/reference/var/functions/import-request-variables.xml:1.2 Wed Apr 17 02:44:57 2002 +++ phpdoc/en/reference/var/functions/import-request-variables.xml Sun May 5 05:19:11 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- splitted from ./en/functions/var.xml, last change in rev 1.34 --> <refentry id="function.import-request-variables"> <refnamediv> @@ -29,6 +29,13 @@ order of the letters matters, as using "gp", the POST variables will overwrite GET variables with the same name. Any other other letters then GPC are discarded. + </simpara> + <simpara> + The <parameter>prefix</parameter> 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. </simpara> <note> <para>

« previous php.doc (#969345255) next »