函式:ifx_pconnect()


ifx_pconnect

开启 Informix 伺服器长期连线。

语法: int ifx_pconnect(string [database], string [userid], string [password]);

传回值: 整数

函式种类: 资料库功能

内容说明

本函式与 ifx_connect() 很类似。不同的地方在于使用本函式开启资料库时,程式会先寻找是否曾经执行过本函式,若执行过则传回先前执行的 ID。另一个不同的地方是本函式无法使用 ifx_close() 关闭资料库。

参考

ifx_connect()  ifx_close()  


[ 上一页 下一页 ]