ravikiran Posted August 5, 2010 Share Posted August 5, 2010 Hi all, I am a newbie to this website. I have an issue to which I require your assistance. I have a website developed on Joomla by a company. They didn't follow the standard process while building the website. MySQL connection strings are initiated in about 20 places around the website in several *.php files. Now I need to change the password of our database. Is it OK if I do a "text search in all files" and replace the old password by new password? Or is there any better solution to solve this issue? Please suggest and help out of this fix. Regards, Ravi. Quote Link to comment https://forums.phpfreaks.com/topic/209870-issue-with-mysql-username-and-password-stored-in-several-places-on-a-php-webiste/ Share on other sites More sharing options...
trq Posted August 5, 2010 Share Posted August 5, 2010 Now I need to change the password of our database. Is it OK if I do a "text search in all files" and replace the old password by new password? I would be more inclined to create a single file to define your connection. Do a text search, find all places where a connection is made, replace it with a include your single connection file. Quote Link to comment https://forums.phpfreaks.com/topic/209870-issue-with-mysql-username-and-password-stored-in-several-places-on-a-php-webiste/#findComment-1095457 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.