var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Include security?
I have a sensitive PHP file on my server and I want stop anyone being able to do a PHP include to the file and grab the variables etc. How can I stop that?
outside of your system can invoke a PHP file and obtain any variables by doing so.
To obtain variable settings one would have to run a PHP program on your server which would include the file and then call phpInfo(). But no one outside can do that.
Would grab the file right?
Well yes, it would grab the file, but it wouldn't grab anything server side. Because the file is still located on your server, it is parsed on your server. So all they would get is the html produced by the php.