While running the following piece of code
if (eregi("config. php",$PHP_SELF) ) {
Header("Locatio n: index.php");
die();
}
I get the following error
Notice: Undefined variable: PHP_SELF in c:\nuke\config. php on line 92
Why ?
PHP_SELF always worked in other scripts
Who can help me ??
Thanks
if (eregi("config. php",$PHP_SELF) ) {
Header("Locatio n: index.php");
die();
}
I get the following error
Notice: Undefined variable: PHP_SELF in c:\nuke\config. php on line 92
Why ?
PHP_SELF always worked in other scripts
Who can help me ??
Thanks
Comment