session_start(); include("admin/conf.php"); if (!isset($_SERVER['PHP_AUTH_USER'])) { header('WWW-Authenticate: Basic realm="My Realm"'); header('HTTP/1.0 401 Unauthorized'); echo 'Please refresh page and enter valid login and password.'; exit; } if ($_SERVER['PHP_AUTH_USER']!=$username && $_SERVER['PHP_AUTH_PW']!=password) { header('WWW-Authenticate: Basic realm="My Realm"'); header('HTTP/1.0 401 Unauthorized'); echo 'Please refresh page and enter valid login and password.'; exit; } ?>
$display = true; if ($_REQUEST['url']) { $checkurl = strtolower($_REQUEST['url']); include("./db_conf.php"); include("./conf.php"); if (!strstr($checkurl,"http://")) $checkurl="http://".$checkurl; $options = array('http' => array('user_agent' => $useragent)); $context = stream_context_create($options); $html = file_get_contents($checkurl, false, $context); $host = str_replace("http://","",$checkurl); $host = explode("/",$host); $host=$host[0]; $result = array(); include("include/check_version.php"); include("include/lastmod.php"); include("include/seo.php"); include("include/alexa.php"); include("include/loadtime.php"); include("include/size.php"); include("include/sharecount.php"); include("include/execute.php"); include("include/view_results.php"); include("include/save.php"); } ?>