Hey, I’ve been trying to get a database running for some of my site’s data and haven’t found the plugins to be…flexible enough. So I’m trying to more directly play with the database through queries in php or such. I know my db username and password and such, my question is how do I securely open my database connection without my password hanging out there. I think I remember there being a good way to put it in a variable. Any ideas?
specifically using the php call:
$database=mysql_connect(“localhost”, db_user_here, db_pw_here);
- The topic ‘Php database password access’ is closed to new replies.