Is there a way to add $_SERVER var's using IIS 5.0?
Looked everywhere, but can not find 'here is how'/'no can't do it'.
Reason: wanted to take db user name and password out of the code it's self, and make it only accessible via the $_SERVER array.
coopster
9:27 pm on Feb 25, 2008 (gmt 0)
Welcome to WebmasterWorld, mrscruff.
As an alternative, you can actually set the default user and password for many database connections in the php.ini configuration. Have a look at the PHP manual page for the database connection type that you are using for details.