PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

ingres_query> <ingres_num_rows
Last updated: Fri, 29 Aug 2008

view this page in

ingres_pconnect

(PHP 4 >= 4.0.2, PHP 5 <= 5.0.5, PECL ingres:1.0-1.4.3)

ingres_pconnectIngres II データベースへの持続的接続をオープンする

説明

resource ingres_pconnect ([ string $database [, string $username [, string $password ]]] )

Ingres II データベースへの持続的接続をオープンします。

この関数と ingres_connect() の違いは次の 2 つだけです。 まず、接続時にこの関数は、まず同じパラメータ既にオープンされている (持続的な)リンクを探すことです。第2に、Ingres サーバへの接続は スクリプトの実行終了時にもクローズされないところです。代わりに、 リンクは、後で使用するためにオープンされたままとなります (ingres_close() は、 ingres_pconnect() により確立されたリンクを クローズしません)。このため、この型のリンクは「持続的(persistent)」 であると呼ばれます。

パラメータ

database

データベース名。 [node_id::]dbname[/svr_class] 形式でなければなりません。

username

Ingres のユーザ名。

password

username のパスワード。

返り値

成功した際に Ingres II リンクリソース、失敗した際に FALSE を返します。



add a note add a note User Contributed Notes
ingres_pconnect
There are no user contributed notes for this page.

ingres_query> <ingres_num_rows
Last updated: Fri, 29 Aug 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites