As a service, we would like to have on our website the ability for visitors to put in a domain name to see who owns it. I know there are other services on the web to do this for whois, but we would like to offer this on our own website.
How can this be done in PHP? I am aware of the whois linux shell command, but I want to be able to interface with this directly through PHP so I can cleanly return who owns the domain. THanks!
This should not be closed and it isn't a duplicate question. None of the others allow to easily parse the owner of a domain. Just barfing back a loose format of output isn't helpful. That's the same reason I'm not using a shell script for this. Thank you for paying attention!