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 - 2 years 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.

+2

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 class provides general purpose functionality for PHP scripts. Currently it can:

- Encode and decode UTF-16 strings
- Generate SQL statements for searching for values in tables from given parameters
- Convert HTML document to text
- Clear array values
- Generate MySQL full search queries
- Get IP information from whois server
- Lock MySQL database tables
- Check if tables are present in a database
- Generate form to search for Ebay sales
- Get the name of a month
- Compare two class objects
- Get the current user Internet Explorer browser version
- Convert text lines breaks into HTML line breaks
- Search for MySQL databases by name
- Etc.
This recommendation solves the problem.
This recommendation does not solve the problem.

+1

Picture of Manuel Lemos by Manuel Lemos Reputation 26695 - 2 years 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
: 
: