I know about $PHP_SELF gets you the folder and the file... but i duno how to get the server....
Code: Select all
$url = ""; // the server
// note the url below is not real and just an example
if ($url == "http://sub.wordopen.com/") {
} else {
include ("stop.php");
}