Revision: 51570
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at September 28, 2011 16:30 by cdohost
Initial Code
if (stristr(htmlentities($_SERVER['PHP_SELF']), "config.php")) { Header("Location: ../index.php"); die(); }
Initial URL
Initial Description
Prevent direct access to php file (Prevenir acesso direto ao arquivo php)
Initial Title
PHP - Prevent direct access to php file
Initial Tags
php, redirect
Initial Language
PHP