Secure database connectivity?
| From: | Stuart Marlow | Date: | Thu, 19 Apr 2001 11:39:56 +0000 |
| Subject: | Secure database connectivity? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-8708@lists.php.net to get a copy of this message | ||
Hi people,
I'm setting up a database to collect email addresses on my web site, but I
want to avoid using the insecure connection method:
mysql_connect("host", "user", "pass")
as this obviously displays my username and password to anyone who wants it.
So I need a secure method for PHP to access a MySQL DB - I expect there's a
million different ways of doing it, and I doubt any of them are simple...!
Cheers.