RE: [PHP-DB] [PHP] PHP and MYSQL Security`

2002-01-28 Thread Peter Adams \(IKN\)
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

RE: [PHP-DB] [PHP] PHP and MYSQL Security`

2002-01-28 Thread Special Design Services Inc.
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

RE: [PHP-DB] [PHP] PHP and MYSQL Security`

2002-01-27 Thread Gurhan Ozen
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(

[PHP-DB] [PHP] PHP and MYSQL Security`

2002-01-27 Thread Duky Yuen
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://