bryzo Posted July 25, 2010 Share Posted July 25, 2010 So my application currently has a PHP config file, named config.php, which looks like this: $username = "user"; $password = "password"; If i want to change the user's password, how can I enter into the file and change the password section without modifying anything else? Thanks! Link to comment https://forums.phpfreaks.com/topic/208847-editing-a-config-file-for-php-script/ Share on other sites More sharing options...
wildteen88 Posted July 25, 2010 Share Posted July 25, 2010 A similar question was asked here. It may help you. Link to comment https://forums.phpfreaks.com/topic/208847-editing-a-config-file-for-php-script/#findComment-1090941 Share on other sites More sharing options...
AbraCadaver Posted July 25, 2010 Share Posted July 25, 2010 And I added a late thought: http://www.phpfreaks.com/forums/index.php/topic,303908.msg1444258.html#msg1444258 Link to comment https://forums.phpfreaks.com/topic/208847-editing-a-config-file-for-php-script/#findComment-1090951 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.