Home :: International :: Manuals :: Howto :: FAQ :: Man Pages :: Email Login

 
 

 

ifx_close

(PHP 3>= 3.0.3, PHP 4 , PHP 5)

ifx_close -- Informix 接続を閉じる

説明

int ifx_close ( int [link_identifier])

返り値: 常に TRUE

ifx_close() は、 指定したリンク ID が関連する Informix データベースへの接続を 閉じます。 リンク ID が指定されない場合、最後にオープンされたリンクが仮定されます。

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

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

ifx_connect(), ifx_pconnect() も参照下さい。

例 1. Informix 接続を閉じる

$conn_id = ifx_connect (mydb@ol_srv, "itsme", "mypassword");
... クエリー等を実行 ...
ifx_close($conn_id);

 
 
 
 
Google
  Web Linuxinfor   
 

Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account

Document on this page is part of "PHP マニュアル". See Index Page for more info about Authorship and Copyright.

1999-2009 Linuxinfor.com. No rights reserved.