I am relatively new to PHP and MySQL. My domain host has only setup one login for me to use to access our MySQL database. I have hardcoded that login and password in all of our PHP scripts (using an include file) which just seems "wrong". Is this the correct, safe way to connect to our MySQL db? Is it true that the contects of the PHP file with our login/pass cannot be view by the world? Just looking for reassurance . . .
Thanks,
David Rock