georg Wed Jul 10 11:34:25 2002 EDT
Modified files:
/phpdoc/en/reference/mysql/functions mysql-pconnect.xml
Log:
documented new optional parameter client_flags
Index: phpdoc/en/reference/mysql/functions/mysql-pconnect.xml
diff -u phpdoc/en/reference/mysql/functions/mysql-pconnect.xml:1.2
phpdoc/en/reference/mysql/functions/mysql-pconnect.xml:1.3
--- phpdoc/en/reference/mysql/functions/mysql-pconnect.xml:1.2 Wed Apr 17 02:41:13
2002
+++ phpdoc/en/reference/mysql/functions/mysql-pconnect.xml Wed Jul 10 11:34:25
+2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 -->
<refentry id="function.mysql-pconnect">
<refnamediv>
@@ -17,6 +17,7 @@
</parameter></methodparam>
<methodparam
choice="opt"><type>string</type><parameter>username</parameter></methodparam>
<methodparam
choice="opt"><type>string</type><parameter>password</parameter></methodparam>
+ <methodparam
+choice="opt"><type>int</type><parameter>client_flags</parameter></methodparam>
</methodsynopsis>
<para>
Returns a positive MySQL persistent link identifier on success,
@@ -29,6 +30,9 @@
'localhost:3306', <parameter>username</parameter> = name of the
user that owns the server process and
<parameter>password</parameter> = empty password.
+ The <parameter>client_flags</parameter>
+ parameter can be a combination of the constants MYSQL_CLIENT_SSL,
+ MYSQL_CLIENT_COMPRESS, MYSQL_CLIENT_IGNORE_SPACE or MYSQL_CLIENT_INTERACTIVE.
</para>
<para>
The <parameter>server</parameter> parameter can also include a port
@@ -61,6 +65,10 @@
the execution of the script ends. Instead, the link will remain
open for future use (<function>mysql_close</function> will not
close links established by <function>mysql_pconnect</function>).
+ </para>
+ <para>
+ The optional <parameter>client_flags</parameter> parameter became
+ available in PHP 4.3.0.
</para>
<para>
This type of link is therefore called 'persistent'.
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php