As of PHP 4.3.0, safe mode affects PHP_AUTH_* variables.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@108999 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Philip Olson 2002-12-25 10:36:40 +00:00
parent c5c0c7f5cd
commit 568149c3c4

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.27 $ -->
<!-- $Revision: 1.28 $ -->
<chapter id="features.safe-mode">
<title>Safe Mode</title>
@ -508,6 +508,16 @@ Warning: readfile() has been disabled for security reasons in
<literal>WWW-Authenticate</literal> header if you set this
header (used for HTTP Authentication).</entry>
</row>
<row>
<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>
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)
</entry>
</row>
<row>
<entry>
<function>highlight_file</function>,