Of course any file you put it in will have to be readable by whatever user the webserver is running as.
-Steve
On Wednesday, November 6, 2002, at 04:16 PM, 1LT John W. Holmes wrote:
I was wondering if it is possible to protect my password to theMySQL-serverfrom being in a PHP-script. Now I can't do that, so everybody who gets to
see my php-sourcecode also can see my (not protected/not encrypted)
password.
How can I change this?
You can't, unless you want to put it in php.ini or a my.conf file...---John Holmes... -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php