I tried asking this in my regular PHP forum but no luck.
Since this is more of a Linux question (but need it implemented in PHP) I thought you guys here would be know a solution to this.
Im pretty sure that it can be done because
this site seem to do exactly that - except it restricts to a limited number.
Im trying to find all the sub-domains of a domain - more specifically - citysearch.com. Citysearch has all there cities' links in subdomains -
cityname.citysearch.com. I want to know all their citynames (subdomains).
I tried
<?php
echo exec('host -l citysearch.com');
?>
but the output is blank.
Any method to get this to work ?
Thanks