Skip to content
Advertisement

Tag: iis-10

Accessing PHP files outside physical path in IIS

I have been told that for security reasons all PHP data handling files should be located outside of the website root directory. I have a website hosted in IIS 10 with the includes folder outside the root. Something like this:- website: C:inetpubwwwrootindex.php and PHP files C:includessubmit.inc.php This is obviously not working since http:localhostincludessubmit.inc.php doesn’t exists. The submit.inc.php is a file

Advertisement