I know .inc files are not secure as they can be viewed, however, if I want to have one website include a file from another, so I can share db connect info/other stuff and not have to change files on each server, I can't get the
php code to properly work on the other domain where I offer the include function.
For ex.) If site1.com tries to include a file on site2.com,
the php code from site2.com is useless.
How woudl I be able to securly parse that data from another server so if I add it on 5/10 other sites I can just edit ONE php file on site2.com and control the data on the other sites?
I searched this forum and can't find a sure fire solution. I know if I deny files with .htaccess I am stuck and .inc files will likely work, but they are a security nightmare.
Thanks





Bookmarks