tripleM Posted August 31, 2009 Share Posted August 31, 2009 Hi, Actually I need connection from PHP to SQLServer2000 and done it thru simple steps. But i want to know like for a web application is there any common place to configure database details like servername , username, password? Please let me know! Thanks, tripleM Quote Link to comment https://forums.phpfreaks.com/topic/172549-where-do-we-configure-database-connection-details/ Share on other sites More sharing options...
trq Posted August 31, 2009 Share Posted August 31, 2009 There is no definitive place to store such information but most would advise to store this information within a file outside of your servers document root then simply include it into your scripts. Quote Link to comment https://forums.phpfreaks.com/topic/172549-where-do-we-configure-database-connection-details/#findComment-909619 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.