Hi, I was wondering but how would I make it so that people when on my site can't access certain files like 'footer.php' which is used as an include in PHP like so:
include 'footer.php';
Basically I just want it so if the person tries to access domain.com/footer.php it'll return an error. Thanks.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.