I'm working on a small PHP Project. I want to include many PHP files, but I want to protect them before opening via directlink by other people.
For example:
<?php include 'content/scripts/php/sample.php'; ?>
I don't want people to access the sample.php
via
http://samplepage.com/content/scripts/php/sample.php