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

search for in the

odbc_close> <odbc_binmode
Last updated: Fri, 10 Oct 2008

view this page in

odbc_close_all

(PHP 4, PHP 5)

odbc_close_all全ての ODBC 接続を閉じる

説明

void odbc_close_all ( void )

odbc_close_all()は、 データベースサーバへの全ての接続を閉じます。

パラメータ

この関数にはパラメータはありません。

返り値

値を返しません。

注意

注意: この関数は、ある接続においてオープンされたトランザクションがある場合に失敗します。 この場合、この接続はオープンされたままとなります。



add a note add a note User Contributed Notes
odbc_close_all
alvaro at demogracia dot com
19-Sep-2008 02:08
Apparently, it doesn't really close *all* connections; just those used by the current script.

If you are using persistent connections, every time a script does an odbc_pconnect() and all open connections are in use you'll get a new connection with the same credentials. You won't close them all with odbc_close_all().

odbc_close> <odbc_binmode
Last updated: Fri, 10 Oct 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites