I think that works in whole Europe.
At least for Germany, Austria, Switzerland, Italy, Spain and France I
know it. Outside europe: no idea.
Normaly in Europe it works like this:
No leading 0 = City call (only fixed net)
One leading 0 = National call
Two leading 0 (or +) = International call

Side effect: a normal german mobile number would be 0049 171 1234567.
If you dial 49 171 1234567 from a pstn (fixed line) phone, you reach
someone in your neighbourhood with the number 0049 [your city prefix]
491711 (additional dialed numbers are ignored in german pstn)

Regards
Falko

2008/8/19 Iain Dooley <[EMAIL PROTECTED]>:
> this is a bit off topic but ...
>
> incidentally, in my PHP5 class which parses that file format, i've got the
> method validateNumber($number,$country) ... the $country argument there
> means that if the number has a leading "0" then that 0 will be replaced by
> the country code for that country.
>
> for example, if i have a user who i know is from australia, and they entered
> in a number "0424 xxx xxx" then i called that method with:
>
> MobileValidation::current()->validateNumber('0424 xxx xxx','Australia');
>
> then the leading "0" would be replaced with "61".
>
> what i'm wondering is if putting a "0" in front of the number instead of the
> country code works in other countries. i know it works in the UK, for
> instance, but how about others?
>
> cheers
> iain
>
>

Reply via email to