Answer the question
In order to leave comments, you need to log in
How to use GeoLite ASN in php?
maxmind has an ip conversion base in ASN
www.maxmind.com/app/asnum
someone has an idea how to use it in php, there is no special function for asn, and when you try to use it as an organization base, you get an error that it is not correct base format.
Answer the question
In order to leave comments, you need to log in
In php, bindings are not very convenient, so you will have to replace the file as if it were the GeoIPOrg.dat base.
I have it read by the function geoip_org_by_name.
on 8.8.8.8 returns the organization name "AS15169 Google Inc."
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question