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

php - Autoloader issue not returning Class -

java - How to put two numbers separated by a space into two different arrays -

python - matplotlib equivalent for Ubuntu servers with no GUI? -