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
This commit is contained in:
Gabor Hojtsy 2002-05-05 09:19:11 +00:00
parent 77a88c2afe
commit baf519061d

View file

@ -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>
@ -30,6 +30,13 @@
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>
Although the <parameter>prefix</parameter> argument is