Forum Moderators: coopster
My PHP scripts have to connect to Mysql which means that they have a user name and password shown in them. At present, these scripts are inside the htdocs document tree.
I think that it would be better if I had a small script ouside the htdocs document tree that contained the user name and password for mysql and that did the logging in function.
Is this a correct assumption and if so, how do I do it. Is there a apache.conf or php.ini line that needs to be changed?
THanks.