Hi
I have some shared hosting and am developing a few sites presently for some mates. I want to hide my database access files in the filesystem without putting them near my public_html folder. My host cant give me access to the httpd.conf files so I was wondering if i can still include a path to a hidden file containing a script to define server environment variables which I can then use to connect to my database. Is this possible using htaccess or a php.ini file or something like that? Really am a noob when it comes to all that jazz.
Have had a google but they all refer to examples where it isn't shared hosting and where one has access to the httpd.conf files.
Thanks in advance
Jonny
I have some shared hosting and am developing a few sites presently for some mates. I want to hide my database access files in the filesystem without putting them near my public_html folder. My host cant give me access to the httpd.conf files so I was wondering if i can still include a path to a hidden file containing a script to define server environment variables which I can then use to connect to my database. Is this possible using htaccess or a php.ini file or something like that? Really am a noob when it comes to all that jazz.
Have had a google but they all refer to examples where it isn't shared hosting and where one has access to the httpd.conf files.
Thanks in advance
Jonny