Regional distribution of logged-on users to obtain the country distribution of logged-on users. Currently, only the user's IP address is recorded in the user table. it takes too long to convert the IP address into a country (each one has to be transferred to a country on a website ?) Do you have any good solutions? Can I know the country of the user based on the IP address ?, This is relatively simple. you can use the api. For example, Sina api. Query the region distribution of logon users
To obtain the country distribution of logon users.
Currently, only the user's IP address is recorded in the logon user table.
It takes too long to convert an IP address to a country (every one of them has to be transferred to a country on a website ?)
Do you have any good solutions?
Can I know the country of the user based on the IP address?
------ Solution --------------------
This is relatively simple. you can use the api. For example, Sina api. After the query, you can display OK in the retrieved value.
JScript code