The easiest way would be to leave the fake info in the config.ini and hard code the real info in the function that checks the connection.

Or you can have the real information in a file that is not accessible to www an get it during the connection function.
Lock Down Reviewed by Lock Down on . replacing mysql $link supplied data, a question? Hello, most of you know that php is using $link = mysql_connect('localhost', $mysql_user, $mysql_pass); to connect to mysql databases. I want to do something like replacing those data after they are executed (I mean after variables getting replaced with real values) I want to change the real values. to be more specific I want to change the $mysql_user after it gets replaced by variable value. Rating: 5