I introduced at the begining of the included files this:
But i must manually change de reg.php value for each file.PHP Code:if (eregi("reg.php", $PHP_SELF)) {
die ("You can't access this file directly...");
}
Is there a method/function to read out what is the name of the file?





Bookmarks