Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to emulate the 'whois' tool using php?

Tags:

php

whois

I don't have whois installed on my server (apparently it's in the works but no real news on it). I was wondering if anybody knew a way to emulate the functionality of it though. I figured I'd be posting some data to a url but I don't know what, or where.

Basically I'm at a complete loss, and would appreciate any help or even something that I could look into.

like image 919
damnitshot Avatar asked Feb 17 '09 10:02

damnitshot


1 Answers

You can use the PHP Whois API. This will allow you access to all the whois records. To use that function there is a link at the bottom of that page to a class. Make sure you include that too.

like image 53
Sam152 Avatar answered Oct 05 '22 03:10

Sam152