cvs: peardoc /en/packages/authentication auth.xml
| From: | Martin Jansen | Date: | Sat, 26 Jan 2002 13:00:56 +0000 |
| Subject: | cvs: peardoc /en/packages/authentication auth.xml | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-2137@lists.php.net to get a copy of this message | ||
mj Sat Jan 26 08:00:56 2002 EDT
Modified files:
/peardoc/en/packages/authentication auth.xml
Log:
* Add warning about using $auth = new Auth(...)
Index: peardoc/en/packages/authentication/auth.xml
diff -u peardoc/en/packages/authentication/auth.xml:1.2
peardoc/en/packages/authentication/auth.xml:1.3
--- peardoc/en/packages/authentication/auth.xml:1.2 Sun Jan 20 09:06:46 2002
+++ peardoc/en/packages/authentication/auth.xml Sat Jan 26 08:00:55 2002
@@ -94,6 +94,18 @@
<function>getAuth</function>. If it returns true, we can pass
the content of our page to the user.
</para>
+ <warning>
+ <para>
+ For now one cannot use
+ <programlisting role="php">
+ <![CDATA[
+$auth = new Auth(...);
+ ]]>
+ </programlisting>
+ with register_globals=on, because $auth is also the name of
+ the session variable, that is used by PEAR::Auth.
+ </para>
+ </warning>
<para>
In the following passages you get to know some detailed
information about the functions of PEAR::Auth.