PHP Classes

What is the best PHP IP information class?: Is there a class to get the company name with the IP address

Recommend this page to a friend!
  All requests RSS feed  >  What is the best PHP IP information c...  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

What is the best PHP IP information class?

Edit

Picture of Stefaan Lesage by Stefaan Lesage - 3 months ago (2022-09-05)

Is there a class to get the company name with the IP address

This request is clear and relevant.
This request is not clear or is not relevant.

+1

I already know the gethostbyaddr function.

Is there a class to get the company name with the IP address as in the API of this website?

https : // ipinfo.io / products / ip-company-api

Ask clarification

1 Recommendation

PHP Utils: Provide general purpose functionality

This recommendation solves the problem.
This recommendation does not solve the problem.

0

Picture of Manuel Lemos by Manuel Lemos Reputation 22765 - 2 months ago (2022-09-06) Comment

That information is taken from the response to the whois server for the specific IP address.

This class provides a function named whois to return the response from the whois server when you query using an IP address.

Then you need to extract the relevant lines of the response that pull the hosting company name, which is the last OrgName.

Can you reply here to let us know if this solves your problem?


Recommend package
: 
: