RE: [PHP] How to protect MySQL password

From: Date: Tue, 23 Oct 2001 19:37:38 +0000
Subject: RE: [PHP] How to protect MySQL password
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-71987@lists.php.net to get a copy of this message
One solution is to depend upon your defaults in "/usr/local/lib/php.ini" . Then just call mysql_connect() with no arguments or just call mysql_db_query with out the connection parameter and PHP will connect for you. If you are connecting to different MySQL servers this solution is not appropriate. mysql.default_host = localhost mysql.default_user = MySQLUsername mysql.default_password = MySQLPassword

« previous php.general (#71987) next »