简体   繁体   中英

How can I get the country name in a datagrid by providing ip address

I would like to display the country name of visitor to admin page I have ip-address of visitor, how can I to use it to know the country name using an api? or is there any other way? without the download of any new database for ipaddress or use of jquery/js

There are some APIs for that. For example: HostIP

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM