nt: Sunday, January 27, 2002 6:38 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: [PHP-DB] [PHP] PHP and MYSQL Security`
>
>
> How can I secure my username and password? In 1 of my files,
> it contains the following:
>
> $conn = mysql_connect( "12.34.56.78
What I do, because I am using a test platform is to put the line with
pconnect() in a small text file, place this file somewhere on the disk,
outside of the web site root
and refer to that file with include() in my code.
This way, even if the PHP source code were compromised, the user name
and
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [PHP-DB] [PHP] PHP and MYSQL Security`
How can I secure my username and password? In 1 of my files, it contains
the following:
$conn = mysql_connect( "12.34.56.78", "username", "password");
mysql_select_db(
How can I secure my username and password? In 1 of my files, it contains
the following:
$conn = mysql_connect( "12.34.56.78", "username", "password");
mysql_select_db("database",$conn);
What should I do, so people can't get this information?
Duky
--
PHP Database Mailing List (http://