Page 1 of 1

Storing DB login details outside of the code directory

Posted: Thu Dec 14, 2006 10:54 am
by impulse()
I have recently read about storing details outside of the codes directory which I want to start doing but I've also read that using

Code: Select all

include
is just as dangerous as storing login details within the code itself. How can I include details from another file inside a .php file?

Regards,

Posted: Thu Dec 14, 2006 11:11 am
by feyd
uhm... use it.