title: prevent direct access to a php include
body: <p>I have a php script <strong>PayPal eStores/dl_paycart</strong> but it has <a href="http://secunia.com/advisories/33036/" rel="nofollow noreferrer">PayPal eStores "settings.php" Security Bypass Vulnerability</a> </p>
  
  <p>I would like to know if I can prevent direct access to a php include file. </p>
  
  <p>Would this help?</p>
  
  <pre><code>defined( '_paycart' ) or die( 'Access to this directory is not permitted' );
  </code></pre>
  
  <p>Thank you</p>