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