Welcome to WebmasterWorld Guest from 184.108.40.206
However, the php on the server seems to not include the root and I do not know where to put it or how to hide it in order to use it but have it secure.
Someone suggeste .htaccess but I do not know how to use that to do what I am trying to do.
You would want to hide the password from your web users. When you put it into a php file, it's not visible for the users, because php is server parsed. If the password is your "master password" you're using for important other things as well, change it.
The php file is visible. They could access it if they wanted it. I want to be totally secure and my root cannot hold it. COuld anyone explain how to use .htaccess file for this?
If I remember correctly, and assuming this hasnít been fixed in the last year or so, if the PHP parser ever fails then any requested PHP files will be served to the browser as type html. I.e. the PHP source code itself will be shown in the browser, not the result of the PHP code. So anything in the PHP file will be viewable to anyone.
Am I right, and if so is there a way around this?