Posted By

Reportme on 10/25/11


Tagged


Versions (?)

Check if file was loaded directly


 / Published in: PHP
 

  1. if (basename(__FILE__) == basename($_SERVER['PHP_SELF'])) header("HTTP/1.0 404 Not Found");

Report this snippet  

You need to login to post a comment.