RE: [PHP-DB] How can you hide database login passwd in your script?

From: Date: Wed, 05 Sep 2001 08:22:04 +0000
Subject: RE: [PHP-DB] How can you hide database login passwd in your script?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-12156@lists.php.net to get a copy of this message
> $0 option: > Put your user ID and password in a config file, then give only the > webserver user access to it. Read the config file to make it work. This > also allows easy switching between test and production environments. You can't change the group owner of a file unless you have root. That does not stop another php user fopen'ing your config file.

« previous php.db (#12156) next »