Hi Michael!

You can put all passwords and loging into one settings file.
This file will included by all scripts using this datas.
this include file you can put in an seperate directory on the
webserver. this directory you can protect by the webserver.
with apache with .htaccess files with IIS in the admin area.
so your passwords are protected if php crashes. If php crashes
and your webserver is running, the webserver is transfering the source
of php files.

bye Marcus

"Michael" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
> How can you hide database login passwd in your script?
> I hate having to have scripts with passwords in it that can be viewed by
> others.

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to