Bill's method should work as well as you can get it programatically without having to index the web with a spider or refer to an existing index.
As for checking the IP for a domain, you can use gethostbyname(): http://no.php.net/manual/en/function.gethostbyname.php
__________________
leo at code.coop
Co-operatives are private corporations based on the values of self-help, self-responsibility, democracy, equality, equity and solidarity. |