Re: How can you hide database login passwd in your script?

From: Date: Mon, 03 Sep 2001 12:14:45 +0000
Subject: Re: How can you hide database login passwd in your script?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-12115@lists.php.net to get a copy of this message
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" <rbtree1@yahoo.com> schrieb im Newsbeitrag news:20010902071840.47980.qmail@pb1.pair.com... > 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. > > >

« previous php.db (#12115) next »