Connection on mysql.
| From: | Arthur Franco | Date: | Mon, 31 Mar 2003 20:03:44 +0000 |
| Subject: | Connection on mysql. | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-19209@lists.php.net to get a copy of this message | ||
What is the safest way to make a connection with php to mysql?
I'm using an require 'DB_conn.php' file that make the connection and this
file is outside /var/www/. Someone including my original file "login.php"
and printing the variable $user for example can see the value of the
variable, that in this example is my user for connection on mysql.
Someone have a better way to hide mysql user and password in php files?
Arthur