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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php