svn: /phpdoc/en/trunk/reference/cubrid/functions/ cubrid-connect-with-url.xml cubrid-pconnect-with-url.xml
| From: | Esen Sagynov | Date: | Tue, 07 Feb 2012 02:17:17 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/cubrid/functions/ cubrid-connect-with-url.xml cubrid-pconnect-with-url.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-9556@lists.php.net to get a copy of this message | ||
cubrid Tue, 07 Feb 2012 02:17:17 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=323106
Log:
Added the notice information about the password parameter in cubrid_connect_with_url and
cubrid_pconnect_with_url
Changed paths:
U phpdoc/en/trunk/reference/cubrid/functions/cubrid-connect-with-url.xml
U phpdoc/en/trunk/reference/cubrid/functions/cubrid-pconnect-with-url.xml
Modified: phpdoc/en/trunk/reference/cubrid/functions/cubrid-connect-with-url.xml
===================================================================
--- phpdoc/en/trunk/reference/cubrid/functions/cubrid-connect-with-url.xml 2012-02-07 01:15:13 UTC
(rev 323105)
+++ phpdoc/en/trunk/reference/cubrid/functions/cubrid-connect-with-url.xml 2012-02-07 02:17:17 UTC
(rev 323106)
@@ -47,6 +47,23 @@
<member>rctime : An interval between the attempts to connect to the active broker in
which failure occurred. After a failure occurs, the system connects to the broker specified by
althosts (failover), terminates the transaction, and then attempts to connect to the active broker
of the master database at every rctime. The default value is 600 seconds.</member>
</simplelist>
</para>
+ <note>
+ <para>
+ ? and : that are used as identifiers in PHP connection URL cann't be
+ included in the password. The following is an example of a password that
+ is invalid to use as connection URL because it contains "?:".
+ </para>
+ <para>
+ $url = "CUBRID:localhost:33000:tdb:dba:12?:?autocommit=off";
+ </para>
+ <para>
+ Passwords that contain ? or : may be passed as a seperate parameter.
+ </para>
+ <para>
+ $url = "CUBRID:localhost:33000:tbd:::?autocommit=off";
+ $conn = cubrid_connect_with_url ($url, "dba", "12?");
+ </para>
+ </note>
</refsect1>
<refsect1 role="parameters">
Modified: phpdoc/en/trunk/reference/cubrid/functions/cubrid-pconnect-with-url.xml
===================================================================
--- phpdoc/en/trunk/reference/cubrid/functions/cubrid-pconnect-with-url.xml 2012-02-07 01:15:13 UTC
(rev 323105)
+++ phpdoc/en/trunk/reference/cubrid/functions/cubrid-pconnect-with-url.xml 2012-02-07 02:17:17 UTC
(rev 323106)
@@ -60,6 +60,23 @@
<member>rctime : An interval between the attempts to connect to the active broker in
which failure occurred. After a failure occurs, the system connects to the broker specified by
althosts (failover), terminates the transaction, and then attempts to connect to the active broker
of the master database at every rctime. The default value is 600 seconds.</member>
</simplelist>
</para>
+ <note>
+ <para>
+ ? and : that are used as identifiers in PHP connection URL cann't be
+ included in the password. The following is an example of a password that
+ is invalid to use as connection URL because it contains "?:".
+ </para>
+ <para>
+ $url = "CUBRID:localhost:33000:tdb:dba:12?:?autocommit=off";
+ </para>
+ <para>
+ Passwords that contain ? or : may be passed as a seperate parameter.
+ </para>
+ <para>
+ $url = "CUBRID:localhost:33000:tbd:::?autocommit=off";
+ $conn = cubrid_connect_with_url ($url, "dba", "12?");
+ </para>
+ </note>
</refsect1>
<refsect1 role="parameters">