php - What are the security implications of not closing connection to the database after you are done with it? -
What security problems can cause a database security connection to not closing it? Does PHP not turn it off when a new page loads?
According to the documentation:
mysql_close () is commonly used But not required because non-static open links automatically stop at the end of execution of the script. See also releasing resources.
Since the connection is managed by PHP, there should not be a security risk.
Comments
Post a Comment