QUOTE(narf03 @ Oct 14 2021, 01:07 PM)
When you use phone's 2g/3g/4g/5g(not wifi), you supposed to have an ip address, i wonder from these ip alone, can u tell where the device is ?
Ie i have a webpage, and those phone access to my page, can i know their __cpLocation from their ip address alone ?
I do not need to be very accurate, just need to know what country/state, need not to know area/street. Is it possible ?
Thanks.
mobile cell network usually uses proxies for all clients. You can't tell between clients other than browser user agents.
If your website is registered as a content provider to each mobile cell network, you get forwarded additional information at the discretion of each cell network provider.
These information could be your MSISDN (cell phone number) and others, depending on what the mobile operator wants to forward to you.
If you're not a content provider, you don't get the MSISDN. You must be registered for each individual telco and this costs $$$$$$.
But to actually know the location, i doubt so unless you implement this.
https://developer.mozilla.org/en-US/docs/We...Geolocation_API