开发者

PHP evolt.org login script mysql_close

I wa开发者_StackOverflow中文版nt to try evolt login system.

http://evolt.org/PHP-Login-System-with-Admin-Features

I can't find where in this script there is closing connection from mysql. Where in this script mysql_close method is executed? Where mysql_close should be in script?

Thanks


It's almost never necessary to explicitly call mysql_close in PHP scripts. The connection is implicitly closed when the script exits.


Unless the connection was opened in persistent mode, the connection is closed when the script exits as part of the normal "cleanup" process.

If it's persistent, then the connection remains open and is returned to the connection pool for re-use by another script.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜