List domains you own using PHP
I wrote a tiny script today to extract a list of domains that I own simply by pasting in a blob of text copied from my Dreamhost control panel; I presume it will probably work with any other glob of text with some domain names in it. It (obviously) doesn’t find anything other than com, net and org TLDs, because that’s all I ever register. Use at your own risk.
$raw = <<<STR THIS IS A BUNCH OF TEXTSTR;
preg_match_all('/(([a-z0-9]+).(com|net|org))/', $raw, $matches);foreach ($matches[0] as $domain) echo "<kbd>{$domain}</kbd><br />\n";