Michdd Posted July 18, 2009 Share Posted July 18, 2009 How would I store mysql connect info gained during an installation? I'm creating a way to install an application but I'm not sure the best way to store mysql connect info so that I can get it later to connect to the database. Link to comment https://forums.phpfreaks.com/topic/166394-storing-mysql-connect-info/ Share on other sites More sharing options...
Amtran Posted July 18, 2009 Share Posted July 18, 2009 In the installation script, have it write the details to "config.php" or something using fwrite and fopen. http://php.net/fopen http://php.net/fwrite Link to comment https://forums.phpfreaks.com/topic/166394-storing-mysql-connect-info/#findComment-877500 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.