您好,欢迎访问一九零五行业门户网

Secure database passwords in PHP

method 1 - modify apache conf or .htaccess
order allow,deny deny from all
method 2 - store them in a file outside web root.
e.g: include('../private/db.php')
better approach is method 1 + 2  :)
其它类似信息

推荐信息