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.

Source Code

Get the script/source code here,2832.0.html

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
Validator, Uk Phone Number Validator, Validating Phone Number, United Kingdom, Phone Number Validator, Uk Phone Validator, Php Phone Validator, Telephone, Phone Number, Uk Phone Number, Php Script, Xhanch, Xhanch Studio

Tagged as: , , , , , , , , , ,

Leave a Reply

You must be logged in to post a comment.