Hi,
You should notice tho, that if you do a query on rs.internic.net for example, you should do a 2nd lookup on the domain at the correct registar whois server.
For example:
whois pietje.com@rs.internic.net
[rs.internic.net]
Whois Server Version 1.3
Domain names in the .com, .net, and .org domains can now be registered
with many different competing registrars. Go to http://www.internic.net
for detailed information.
Domain Name: PIETJE.COM
Registrar: TUCOWS, INC.
Whois Server: whois.opensrs.net
Referral URL: http://www.opensrs.org
Name Server: NS2.TERA-BYTE.COM
Name Server: NS.REDIRECTION.NET
Name Server: NS3.TERA-BYTE.COM
Updated Date: 12-feb-2002
Last update of whois database: Fri, 24 May 2002 04:53:58 EDT <<<
The Registry database contains ONLY .COM, .NET, .ORG, .EDU domains and
Registrars.
And the 2nd whois:
whois pietje.com@whois.opensrs.net
[rr-n1-tor.opensrs.net]
Registrant:
Pietje bekske
Browert
vught, nb 6578jn
NL
Domain Name: PIETJE.COM
Administrative Contact:
bekske, Pietje pietje@bigfoot.com
Browert
vught, nb 6578jn
NL
+31456789098
Technical Contact:
Operations Centre, Network hostmaster@tera-byte.com
Suite #900 CN Tower
10004-104 Ave. NW
Edmonton, Alberta T5J 0K1
CA
+1 780 413-1868
Billing Contact:
bekske, Pietje pietje@bigfoot.com
Browert
vught, nb 6578jn
NL
+31456789098
Registration Service Provider:
Tera-Byte Dot Com Inc, hostmaster@tera-byte.com
780 413 1868
Record last updated on 08-Mar-2002.
Record expires on 12-Apr-2003.
Record Created on 12-Apr-2000.
Domain servers in listed order:
NS.REDIRECTION.NET 216.234.161.13
NS2.TERA-BYTE.COM 216.234.161.12
NS3.TERA-BYTE.COM 204.209.56.2
Then, make some sort of counter, that increases after Registrant: and then for each count lets say, you want the adres of the company, if ($counter==3) { print $address; }
Hope this helps a bit more.
Cheers,