Anyone knows a easy way preferably PHP to achieve this. I want to redirect mobile visitors based on their country and carrier (like T-mobile or Vodafone). Thanks in advance
Asked
Active
Viewed 906 times
4
-
Partial answer is here: http://stackoverflow.com/questions/3256939/how-to-determine-if-incoming-ip-address-is-from-a-mobile-carrier – Diodeus - James MacFarlane Mar 07 '12 at 15:11
1 Answers
3
There is a HTML5 Network Information API:
Not sure if you can get Carrier information though but I know some Carriers offer HTML5 API's of there own that you might take advantage of:
Also there is a HTML5 Geolocation API
More Examples:
As for a PHP solution you could do a carrier lookup, there are no free solutions but you can try something like this:
But for this to work you would need to obtain the users phone number which:
The user would have to manually enter the number or develop a native app which would have access to the device number

Community
- 1
- 1

Phill Pafford
- 83,471
- 91
- 263
- 383
-
@vinny if this answered your question, please select it as the answer . Glad to help – Phill Pafford Mar 09 '12 at 13:13