Hosting Server Type Checker Tool
if(isset($_POST['submit'])) {
if($_SESSION['security_code'] == $_POST['security_code']) {
$_SESSION['validated']=”Yes”;
set_time_limit(120);
$info = $_POST['info'];
preg_match_all(”/www\.[a-z0-9%~:_=&\-\.\?\/]*/i”, $info, $matches_);
if(is_array($matches_)) {
while(list($key, $value) = each($matches_))
$_matches[] = $value;
while(list($key, $value) = each($_matches))
$matches = $value;
}
else
$matches = $value;
}
else {
$_SESSION['validated']=”No”;
$msg = “Sorry, you have provided an invalid security code”;
}
//print_r($matches);
$showme = get_formatted_1($matches);
}
?>
This tool uses your domain name to find server type the website is hosted on. Knowing the server type is very important in SEO, especially when you want to rewrite the dynamic URLs or do URL redirection etc. Please use the domain in the following format www.seovalley.com with one or more domains seperated with a comma.
}
elseif ($_SESSION['validated'] == “No”) {
echo ‘‘ . $msg . ‘‘;
}
?>




































