David Sklar and Adam Trachtenberg (two smart guys who authored the PHP
Cookbook) suggest storing this information in the Web server's
environment.

Guess we are talking about recipe 8.20 and 8.21?


I'm on a SunOS shared server. Should I add "SetEnv DB_PASS password" to the .htaccess file in my public_html dir and then access it as $_ENV['DB_PASS']?

What should the access rights to .htaccess be? -rw------- or something else?


-- anders thoresson

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to