krot

php защита подключеных файлов

May 24th, 2016
76
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (strstr($_SERVER['REQUEST_URI'], basename(__FILE__) ) )
  2.     {header('HTTP/1.1 404 Not Found'); die; }
RAW Paste Data