Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
<?php
// Nur in der Form domain.endung o. www.domain.endung
function checkDomain($url)
{
$bool = false;
if(!function_exists('checkdnsrr'))
{
function checkdnsrr($url, $type = '')
{
if(!empty($url))
{
if($type == '')
{
$type = "MX";
}
$output = "";
@exec("nslookup -type=$type $url", $output);
while(list($k, $line) = each($output))
{
if(eregi("^$url", $line))
{
$bool = true;
}
}
}
}
}
if(checkdnsrr($url.'.', 'MX') || checkdnsrr($url.'.', 'A') || checkdnsrr($url.'.', 'CNAME'))
{
$bool = true;
}
return $bool;
}
?>
wofür brauchst du sowas denn, wenn du ne domain registrieren willst, dann kannst du auf 1und1.de oder so das ganz fix nachgucken!
Vielen Dank an alle.