My website got hacked. The hacker got to the .php files on my server and they included my mysql password in plaintext, like this:
我的网站被黑了。黑客拿到了我服务器上 .php 文件的权限,我的 MySQL 密码明文存储,就像这样:
>mysql_connect("localhost", "me", "mypass");
What's the proper way to do it, anons? Where do I store the password and how do I get this php script to read it then?
⋯ 继续阅读请登录会员 ⋯