PHP and passwords
| From: | webmaster | Date: | Thu, 28 Feb 2002 09:59:06 +0000 |
| Subject: | PHP and passwords | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-86633@lists.php.net to get a copy of this message | ||
Is there a way to connect to your database using php without hard coding
a password into the php file? We run PostgreSQL 7.1 on a Linux 7.2
server with the latest version of apache. I don't want to change the
authentication within Postgres to not require a password. But I also,
for security reasons, don't want to have passwords coded into the php
scripts for accessing the database. I'm very new to php, but very
excited about what I've learned so far. Any help would be appreciated.
thanks,
Elkan