Anyone knows an easy way for PHP to achieve this. I want to redirect mobile visitors based on their country and operator (for example, T-mobile or Vodafone). thanks in advance
There is an HTML5 network information API:
Not sure if you can get carrier information, but I know that some carriers offer HTML5 APIs where you can use:
There is also an HTML5 Geolocation API
Other examples:
As for the PHP solution, you can search for an operator, there are no free solutions, but you can try something like this:
But for this you will need to get the phone number of the user, which:
The user will have to manually enter the number or create his own application that will have access to the device number
Source: https://habr.com/ru/post/1400228/More articles:Getting “Internal error occurred during:“ Compaction resource model. ”While building a project in indigo eclipse - eclipseKeep all user notifications in a list using redis? - mysqlWays to save complex objects in C ++ - c ++WPF binds window title to property - wpfEnabling ClickOnce CheckForDetailUpdate throws an exception - .nethttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1400229/index.html&usg=ALkJrhgBTOEudFT-xi83cbxaxOHRJt2ArAHow to project a point on a sphere - geometryASP.Net Browser Compatibility - internet-explorerConvert inline images to database - javaAndroid parse json from url and save it - jsonAll Articles