PHP Script – UK (United Kingdom) Telephone Number Validator
Here is a function to check the validity of a UK (United Kingdom) business or domestic telephone number (including those associated with mobile networks) specified by the supplied parameter. The phone number will be considered as valid if it contains 10 to 11 number digits, a valid area code, has no country code, and starts with 0.
The definition of a valid telephone number has been taken from the Ofcom specification.
If the parameter has a valid format and corresponds to an appropriate telephone number, the function returns a [b]true[/b] value. Else, It will return an error message.
This function will not accept an extension number.
Get the script/source code here
Incoming Search Terms
free professional web templates download, finding address of uk tel no, my contact phone number in united kingdom, script for phone format of united kingdom, Xhanch, Xhanch Studio
Posted on 2012-05-03 by Susanto BSc in Free Script, PHP Script
Php Phone Validator, Uk Phone Number, Uk Phone Validator, Telephone, Php Script, Phone Number Validator, United Kingdom, Phone Number, Validator, Uk Phone Number Validator, Validating Phone Number, Xhanch, Xhanch Studio
Tagged as: phone number, phone number validator, php phone validator, php script, telephone, uk phone number, uk phone number validator, uk phone validator, united kingdom, validating phone number, validator
Leave a Reply
You must be logged in to post a comment.