mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
PHP_AUTH_TYPE -> AUTH_TYPE
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@121060 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
73ac11e3a1
commit
5383d84474
3 changed files with 6 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.27 $ -->
|
||||
<!-- $Revision: 1.28 $ -->
|
||||
|
||||
<appendix id="reserved">
|
||||
<title>List of Reserved Words</title>
|
||||
|
@ -601,7 +601,7 @@
|
|||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term>'<varname>PHP_AUTH_TYPE</varname>'</term>
|
||||
<term>'<varname>AUTH_TYPE</varname>'</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
When running under Apache as module doing HTTP authenticated this
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.33 $ -->
|
||||
<!-- $Revision: 1.34 $ -->
|
||||
<chapter id="features.http-auth">
|
||||
<title>HTTP authentication with PHP</title>
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
|||
the URL containing the PHP script will be called again with the
|
||||
<link linkend="reserved.variables">predefined variables</link>
|
||||
<varname>PHP_AUTH_USER</varname>, <varname>PHP_AUTH_PW</varname>,
|
||||
and <varname>PHP_AUTH_TYPE</varname> set to the user name, password and
|
||||
and <varname>AUTH_TYPE</varname> set to the user name, password and
|
||||
authentication type respectively. These predefined variables are found
|
||||
in the <link linkend="reserved.variables.server">$_SERVER</link> and
|
||||
<varname>$HTTP_SERVER_VARS</varname> arrays. Only "Basic" authentication
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.30 $ -->
|
||||
<!-- $Revision: 1.31 $ -->
|
||||
<chapter id="features.safe-mode">
|
||||
<title>Safe Mode</title>
|
||||
|
||||
|
@ -520,7 +520,7 @@ Warning: readfile() has been disabled for security reasons in
|
|||
<entry><link linkend="features.http-auth">PHP_AUTH variables</link></entry>
|
||||
<entry>
|
||||
In safe mode, the variables <varname>PHP_AUTH_USER</varname>,
|
||||
<varname>PHP_AUTH_PW</varname>, and <varname>PHP_AUTH_TYPE</varname>
|
||||
<varname>PHP_AUTH_PW</varname>, and <varname>AUTH_TYPE</varname>
|
||||
are not available in <varname>$_SERVER</varname>. Regardless, you
|
||||
can still use <varname>REMOTE_USER</varname> for the USER.
|
||||
(note: only affected since PHP 4.3.0)
|
||||
|
|
Loading…
Reference in a new issue