svn: /phpdoc/en/trunk/reference/oci8/functions/ oci-password-change.xml
| From: | Christopher Jones | Date: | Fri, 24 Sep 2010 16:20:05 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/oci8/functions/ oci-password-change.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-7162@lists.php.net to get a copy of this message | ||
sixd Fri, 24 Sep 2010 16:20:05 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=303751
Log:
Merge user note
Changed paths:
U phpdoc/en/trunk/reference/oci8/functions/oci-password-change.xml
Modified: phpdoc/en/trunk/reference/oci8/functions/oci-password-change.xml
===================================================================
--- phpdoc/en/trunk/reference/oci8/functions/oci-password-change.xml 2010-09-24 15:23:15 UTC (rev
303750)
+++ phpdoc/en/trunk/reference/oci8/functions/oci-password-change.xml 2010-09-24 16:20:05 UTC (rev
303751)
@@ -25,6 +25,10 @@
<para>
Changes password for user with <parameter>username</parameter>.
</para>
+ <para>
+ The <function>oci_password_change</function> function is most useful for PHP
command-line scripts,
+ or when non-persistent connections are used throughout the PHP application.
+ </para>
</refsect1>
<refsect1 role="parameters">
@@ -86,9 +90,18 @@
<refsect1 role="notes">
&reftitle.notes;
<note>
+ <para>
+ Changing the password either with this function or directly in
+ Oracle should be done carefully. This is because PHP applications
+ may continue to successfully reuse persistent connections by
+ authenticating with the old password. The best practice is to
+ restart all web servers whenever the user password is changed.
+ </para>
+ </note>
+ <note>
<simpara>
The second <function>oci_password_change</function> syntax is available
- since version 1.1.
+ since OCI8 version 1.1.
</simpara>
</note>
<note>
@@ -99,6 +112,7 @@
This, however, is deprecated and not recommended.
</para>
</note>
+
</refsect1>
</refentry>