php - How to get country code or country prefix from a mobile number which doesn't contain country code -


i working on app gets phone number or without country code call or send sms. want know, there functionality / pattern can detect country code of number doesn't contain country code.

for example have number: 1. 0167-xxxx-xxx 2. 0171-xxxx-xxx 3. 3212-xxx-xxx 4. 4808-xxx-xxx 

here, first 2 numbers bangladesh , last 2 numbers usa. so, there way determine / differentiate country numbers?

so, there way determine / differentiate country numbers?

no, can't , that's why country codes used.


Comments

Popular posts from this blog

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

jsf - "PropertyNotWritableException: Illegal Syntax for Set Operation" error when setting value in bean -

arrays - Algorithm to find ideal starting spot in a circle -