On Sun, June 3, 2007 10:02 pm, Simon Males wrote:
> Voytek Eymont wrote:

>> just thinking, is there really any benefit in having php includes
>> outside of the web root...?
>>
>>
>
> One reason I have heard is to have DB passwords outside the web root,
> just in case permissions go all weird and are being openly displayed on the
> interweb.


thanks, Simon

yes, that was the reason why I've set it as such in the past;
but, then I look at variety of php apps that are around, and, just about
all of them have includes and db passwords in an inc directory
inside/below web root, so I was thinking, if it's good for them....



-- 
Voytek

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to