当前位置:Gxlcms > PHP教程 > SecuredatabasepasswordsinPHP

SecuredatabasepasswordsinPHP

时间:2021-07-01 10:21:17 帮助过:31人阅读

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 :)

人气教程排行