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_all
(PHP 4, PHP 5)
odbc_close_all — Tüm ODBC bağlantılarını kapatır
Açıklama
void odbc_close_all
( void
)
odbc_close_all() işlevi tüm veritabanı sunucularıyla kurulmuş bağlantıları sonlandırır.
Değiştirgeler
Bu işlevin değiştirgesi yoktur.
Dönen Değerler
Hiçbir değer dönmez.
Notlar
Bilginize:
Bir bağlantıda henüz tamamlanmamış bir hareket kalmışsa işlev başarısız olur. Böyle bir durumda o bağlantı açık kalır.
alvaro at demogracia dot com
18-Sep-2008 08:08
