Hallo,
$d=[link:http://de3.php.net/manual/de/function.parse-url.php@title=parse_url]($_POST['eingabe_url']);
$r=@[link:http://de3.php.net/manual/de/function.dns-get-record.php@title=dns_get_record]($d['host']);
[link:http://de3.php.net/manual/de/language.control-structures.php#control-structures.if@title=if]([link:http://de3.php.net/manual/de/function.substr.php@title=substr]([link:http://de3.php.net/manual/de/function.strtolower.php@title=strtolower]($d['scheme']),0,4)=='http' && // kann also auch https sein
![link:http://de3.php.net/manual/de/function.empty.php@title=empty]($r)){ // domain existiert
verarbeite_url();
}
Gruß aus Berlin!
eddi