Re: openSRS.php using WHOIS for domain lookup but how can I implement something for .CA domains?

From: Colin Viebrock (colin@easydns.com)
Date: Tue Oct 14 2003 - 12:22:14 EDT


On Monday, October 13, 2003, at 09:38 AM, Chris Boothe wrote:

> Hello,
>
> We are using the openSRS.php implementation for a domain WHOIS lookup
> using
> the following function.
> What do we need to do to lookup whois information for .CA domain names?

You can probably use exactly the same function as you do for
.COM/NET/ORG, just tell the whois shell command which whois server to
use. So, for .CA names:

        $contents = `whois -h whois.cira.ca $domain`;

Some later versions of whois are smart enough to do this for you.

- Colin



This archive was generated by hypermail 2.1.3 : Tue Oct 19 2004 - 23:37:49 EDT