Welcome! Log In Create A New Profile

Advanced

[PHP] WHOIS lookups in PHP5

Posted by Michelle Konzack 
Michelle Konzack
[PHP] WHOIS lookups in PHP5
January 09, 2018 10:00AM
Hello *,

now it is winter, 20cm snow and very cold outside, hence I stay inside
and recode some older stuff...

I run Debian GNU/Linux with PHP 5 and prepare to upgrade to PHP 7.

I want to upgrade my Abuse interface and like to know, if someone know
an easy way to get infos from WHOIS servers?

Is there a way to get a bibliothek with anunified interface or must I
realy code one WHOIS parser for each WHOIS server?

I see on the commandline while calling whois, at least 23 different
output formats which is realy annoying.

What I need is to INPUT the spamers IP address, get the Netblock, Owner
and the ABUSE EMail

Thanks in avance

--
Michelle Konzack Miila ITSystems @ TDnet
GNU/Linux Developer 00372-54541400


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
German Geek
Re: [PHP] WHOIS lookups in PHP5
January 09, 2018 11:10AM
On Tue, 9 Jan 2018 at 21:54 Michelle Konzack <[email protected]>
wrote:

> Hello *,
>
> now it is winter, 20cm snow and very cold outside, hence I stay inside
> and recode some older stuff...
>
> I run Debian GNU/Linux with PHP 5 and prepare to upgrade to PHP 7.
>
> I want to upgrade my Abuse interface and like to know, if someone know
> an easy way to get infos from WHOIS servers?
>
https://www.whoisxmlapi.com/?domainName=dcoder.nz&outputFormat=json seems
to be a usable RESTful API which you can call from PHP.

Regards,
Tim
Sorry, only registered users may post in this forum.

Click here to login