PHP驱动的网站需要更改密码

发布于 2024-08-24 12:41:54 字数 624 浏览 6 评论 0原文

我继承了一个网站,需要更改访问数据库的密码。我可以看到数据库中有两个表,但它们都没有用户名或密码信息。

之前的网络人员搬出了国外,无法联系到。我的速度不够快,无法弄清楚这一点。我已经浏览了所有文件试图找到答案,但无法得到它。

它由 goDaddy.com 托管,我已经更改了那里的密码,但它没有更改此登录信息。

www.executivehomerents.com/cpanel <-这会弹出输入用户名的提示密码我不会透露,但页面只给你5个选择,而且没有一个涉及更改密码。他们只是更改表中的数据。

如果你去: http://www.websitedatabases.com/ <=这是购买 PHPMagic 程序的公司从 - 他们没有联系电话。

这是另一个可能有帮助的页面: http://www.executivehomerents.com/cpanel/ dbinput/setup.php

I have inherited a website that needs the password changed that accesses the database. I can see that there are two tables within the database but neither of them have username or password info.

The previous web guy moved out of the country and can't be reached. I am not up-to-speed enough to figure this out. I have gone through all the files to try and find the answer but can't get it.

It's hosted by goDaddy.com and I have changed the passwords there but it didn't change this login info.

www.executivehomerents.com/cpanel <-this brings up the prompt for the username & password which I won't give out but the page only gives you 5 choices and none of them deal with changing the password. They are simply to change the data in the tables.

If you go to:
http://www.websitedatabases.com/ <=this is the company that the PHPMagic program was purchased from--
They have no contact number.

Here is another page that might help: http://www.executivehomerents.com/cpanel/dbinput/setup.php

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

一场信仰旅途 2024-08-31 12:41:54

如果数据库的密码已更改 - 我无法从您的描述中完全了解情况是否如此 - 您可能需要在 PHP 应用程序本身中查找并更改它。它可能驻留在某些配置文件中。

我会做什么:

  • 使用 FTP 下载整个项目

  • 对数据库服务器名称(通常是 localhost)进行全文搜索< /p>

  • 或者,根据所使用的库搜索 mysql_connect() 或类似命令使用

  • 这样,您可能会找到设置密码的文件。

  • 将密码更改为(我假设)在托管提供商控制面板中设置的新密码

  • 上传更改的文件

  • 网站应该可以工作。

不能保证您会以这种方式找到它,但这就是它通常的工作方式。

If the password to the database has changed - I can't quite read from your description whether that is what is the case - you will probably need to find and change it in the PHP application itself. It is likely to reside in some configuration file.

What I would do:

  • Download the whole project using FTP

  • Make a full-text search for the database server name (usually localhost)

  • Alternatively, search for mysql_connect() or similar commands depending on what library was used

  • That way, you would probably find the file in which the password is set.

  • Change the password to the new one that was (I assume) set in the hosting provider's control panel

  • Upload the changed file

  • Site should work.

No guarantee you will find it that way, but that's how it usually works.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文