![]() |
|
|
+ Search |
![]()
|
Dec 23rd, 2004 13:21
Matthew Wilkinson, Thomas Anderson,
if (eregi($pagename, $PHP_SELF)) {
die ("You can't access this file directly...");
}
$pagename must be the name of the file, not the path.
eg. $pathname = "nodirectaccess.php";