Added the notice information about the password parameter in cubrid_connect_with_url and cubrid_pconnect_with_url

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323106 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Esen Sagynov 2012-02-07 02:17:17 +00:00
parent 4f685cf936
commit 47345cff18
2 changed files with 34 additions and 0 deletions

View file

@ -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">

View file

@ -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">