how do people store their username and password for mysql_connect? it seems like most people just store it in an include file, but wouldn't it be dangerous to store in a php file? if the webserver fails to handle the php file incorrectly, couldn't the php source be viewable through the browse?
it seems like you can also define a default username/password in php.ini, but they indicate that it could be easily read by anyone who can view your environment variables.
so, how can i store mysql username/password securely?


