Re: Security with dbHost, dbUser, dbPassword
| From: | tedd | Date: | Sun, 14 Jan 2007 18:37:03 +0000 |
| Subject: | Re: Security with dbHost, dbUser, dbPassword | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-247079@lists.php.net to get a copy of this message | ||
At 12:43 PM +0100 1/11/07, Jochem Maas wrote:
Satyam wrote:... but the cat ain't going to like any of them -- Jeff Foxworthy tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.comNo problem there, the include in my DB abstraction layer includes and calls the separate file with the function to make the connection to the database. Though the main application source doesn't know about the include file with the connection data in it, the DB layer include does. In this way, I have the db include file under CVS and can refresh it at the production server without a problem, while the include file with the connection is separate, so that I have one for the test machine (this one) where the server is 'localhost' which I never copy to the production server.there are many way to skin the cat :-)