RE: [PHP-DB] MySQL password protection?

From: Date: Wed, 06 Nov 2002 22:30:39 +0000
Subject: RE: [PHP-DB] MySQL password protection?
Groups: php.db 
Request: Send a blank email to php-db+get-23054@lists.php.net to get a copy of this message
actually you can make a .php file with your connection info, include it in your .php files at the top and encrypt that one file (they don't need to see it anyway). use a php encoder for the file with your login info in it. -----Original Message----- From: 1LT John W. Holmes [mailto:holmes072000@charter.net] Sent: Wednesday, November 06, 2002 4:16 PM To: William Trappeniers; php-db@lists.php.net Subject: Re: [PHP-DB] MySQL password protection? > I was wondering if it is possible to protect my password to the MySQL-server > from 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

« previous php.db (#23054) next »