What happes when the script that made @mysql_connect($server, $user, $password)
dies?
How long does it live?
谢谢!
What happes when the script that made @mysql_connect($server, $user, $password)
dies?
How long does it live?
谢谢!
Connections opened by mysql_connect() are closed at script exit, unless closed earlier by calls to mysql_close().
rel=“nofollow noreferer”> http://www.phpdig.net/ref/rn41re774.html。
当你的文字结束时,它将结束,但最好的做法是,在你不需要时,明确使用<密码>mysql_close(<>/code>——释放链接。