hab grad suPHP draufgeschmissen und bekomm jetzt bei meinem
PHP-Nuke:
Code: Select all
You can't access this file directly...
Code: Select all
You can't access this file directly...
Code: Select all
<?
echo "_SERVER[PHP_SELF]: ".$_SERVER['PHP_SELF']."<br>";
echo "PHP_SELF: ".$PHP_SELF."<br>";
?>/test/ - und mod_php:_SERVER[PHP_SELF]: /self.php
PHP_SELF: /self.php
/ - und suphp:_SERVER[PHP_SELF]: /test/self.php
PHP_SELF: /test/self.php
/test/ - und suphp:_SERVER[PHP_SELF]: : PHP/4.3.1
PHP_SELF: : PHP/4.3.1
im Php-Nuke steht:_SERVER[PHP_SELF]:
PHP_SELF:
Code: Select all
if (!eregi("modules.php", $_SERVER['PHP_SELF'])) {
die ("You can't access this file directly...");
}
