mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
77a88c2afe
commit
baf519061d
1 changed files with 8 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue