title: Protect a PHP file to include before opening by other people
body: <p>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.</p>
  
  <p>For example:</p>
  
  <pre><code>&lt;?php include 'content/scripts/php/sample.php'; ?&gt;
  </code></pre>
  
  <p>I don't want people to access the <code>sample.php</code> via</p>
  
  <pre><code>http://samplepage.com/content/scripts/php/sample.php
  </code></pre>