Please fill in all fields"; } else { $string = $_REQUEST['domain'];$_REQUEST['tld']; $site = file_get_contents("http://isfree.schlundtech.de/cgi-bin/isfree.cgi?domain=$string&lang=EN"); $findme = "The domain $string is still available"; $pos = strpos($site, $findme); if ($pos !== false) { $results = "$string is Available Click here to order"; } else { $results = "$string is Not Available"; } } } ?>