Try this...From what I understand this is what you want man...
Originally Posted by buzzbuilder
Oh just copy and paste the results from your browser and save it as a .txt and you got what you need!!
Oh and if you want it to strip out subdomains too let me know.. so it would take mail.google.com and display google.com
$fp = fopen("domains.txt", "r");
$temp = fread ($fp, filesize ("domains.txt"));
$domainList = explode ("\n", $temp);
foreach ($domainList as $url)
$domain = explode('/', $url);
echo $domain . "<br />\n";