mysql_connect
| From: | Michael Conley | Date: | Mon, 02 Oct 2000 20:15:08 +0000 |
| Subject: | mysql_connect | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-18307@lists.php.net to get a copy of this message | ||
I am connecting to a MySQL database to retrieve data (or update data). In
the PHP page I have the connection information (host, username, password).
Unfortunately, this information is easily read by anyone who views the
source of my PHP page. How can I make the connection to the MySQL database
in some other page or otherwise not expose the connection information?