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

search for in the

ifx_connect> <ifx_byteasvarchar
Last updated: Fri, 05 Sep 2008

view this page in

ifx_close

(No version information available, might be only in CVS)

ifx_closeInformix 接続を閉じる

説明

bool ifx_close ([ resource $link_identifier ] )

ifx_close() は、 指定したリンク ID に関連づけられた Informix データベースへの接続を閉じます。

非持続的接続としてオープンされたリンクはスクリプトの実行終了時に 自動的に閉じられるため、 この関数は通常は必要ではないことに注意してください。

ifx_close() は、ifx_pconnect() により作成された持続的リンクは閉じません。

パラメータ

link_identifier

リンク ID。指定しなかった場合は、最後にオープンされたリンクが仮定されます。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。

例1 Informix 接続を閉じる

<?php
$conn_id 
ifx_connect ("mydb@ol_srv""itsme""mypassword");
/* ... クエリ等を実行 ... */
ifx_close($conn_id);
?>



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

ifx_connect> <ifx_byteasvarchar
Last updated: Fri, 05 Sep 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites