RE: [PHP] Opinion on a method....

From: Date: Fri, 04 Apr 2003 20:07:32 +0000
Subject: RE: [PHP] Opinion on a method....
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-142419@lists.php.net to get a copy of this message
Hi Dan, > the ini file looks like: hostip&user&password&databasename > after I import it, I split it up, and assign each to a variable > name. I also have it outside the doc root, and it gives a > generic error msg for every error in the system. Should do it - it's a bit of a long-winded route, though. As Kevin said, why not just use include()? It'll be a lot easier and just as safe :-) Cheers Jon

« previous php.general (#142419) next »