mirror of
https://github.com/php/doc-ru.git
synced 2026-03-23 23:32:16 +01:00
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: ed1aff13602c94f86344bdd7c4fbc31f5a71bf84 Maintainer: rjhdby Status: ready -->
|
||||
<!-- EN-Revision: c68bcb2af14260247d8afe5e13d957e10e44c4af Maintainer: rjhdby Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xml:id="function.odbc-connect" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
@@ -12,8 +12,8 @@
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>Odbc\Connection</type><type>false</type></type><methodname>odbc_connect</methodname>
|
||||
<methodparam><type>string</type><parameter>dsn</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>user</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>password</parameter></methodparam>
|
||||
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>user</parameter><initializer>&null;</initializer></methodparam>
|
||||
<methodparam choice="opt"><modifier role="attribute">#[\SensitiveParameter]</modifier><type class="union"><type>string</type><type>null</type></type><parameter>password</parameter><initializer>&null;</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>cursor_option</parameter><initializer><constant>SQL_CUR_USE_DRIVER</constant></initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<simpara>
|
||||
@@ -49,6 +49,8 @@
|
||||
<listitem>
|
||||
<para>
|
||||
Имя.
|
||||
Параметр игнорируется, если <parameter>dsn</parameter> содержит <literal>uid</literal>.
|
||||
Для подключения без указания <parameter>user</parameter> используйте &null;.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@@ -57,6 +59,8 @@
|
||||
<listitem>
|
||||
<para>
|
||||
Пароль.
|
||||
Параметр игнорируется, если <parameter>dsn</parameter> содержит <literal>pwd</literal>.
|
||||
Для подключения без указания <parameter>password</parameter> используйте &null;.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@@ -115,6 +119,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
&odbc.changelog.connection-return;
|
||||
&odbc.changelog.credential-params;
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: c39225b6dd23f358824f44f5b8c733517b11830b Maintainer: zors1 Status: ready -->
|
||||
<!-- EN-Revision: c68bcb2af14260247d8afe5e13d957e10e44c4af Maintainer: zors1 Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
<refentry xml:id="function.odbc-pconnect" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
@@ -13,7 +13,7 @@
|
||||
<type class="union"><type>Odbc\Connection</type><type>false</type></type><methodname>odbc_pconnect</methodname>
|
||||
<methodparam><type>string</type><parameter>dsn</parameter></methodparam>
|
||||
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>user</parameter><initializer>&null;</initializer></methodparam>
|
||||
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>password</parameter><initializer>&null;</initializer></methodparam>
|
||||
<methodparam choice="opt"><modifier role="attribute">#[\SensitiveParameter]</modifier><type class="union"><type>string</type><type>null</type></type><parameter>password</parameter><initializer>&null;</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>cursor_option</parameter><initializer><constant>SQL_CUR_USE_DRIVER</constant></initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
|
||||
Reference in New Issue
Block a user