Re: 回复: Re: [PEAR] [DB_DataObject ]How to set permission for DataObject.ini
| From: | Justin Patrin | Date: | Fri, 18 Nov 2005 03:54:43 +0000 |
| Subject: | Re: 回复: Re: [PEAR] [DB_DataObject ]How to set permission for DataObject.ini | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-21976@lists.php.net to get a copy of this message | ||
On 11/17/05, digit Shine <digit_shine@yahoo.com.cn> wrote:
>
>
> Justin Patrin <papercrane@gmail.com> 写道: On 11/15/05, digit Shine wrote:
> > DataObject.ini include DB password, How to prevent visited by public?
>
> Remember that you don't have to use an ini file. The main method shown
> in the docs is with an ini file but any properly created array can be
> used instead.
>
> --
> Justin Patrin
>
>
> I have used option array already. Thanks. I have also tried to use .htaccess, but not work.
> May be the document should be changed.
>
Huh? An option array works just fine and isn't accessible by web
browsers. An htaccess has nothing to do with DB_DO.
--
Justin Patrin