Latest: A1 Health Wealth and Happiness launched Saturday 17th May 2008 8:05 pm UK time
Telephone directory script ClockTowerWeb Ltd
About UsWeb DesignWeb ProgrammingPortfolioScriptsNewsContact
Web Programming
Perl/CGI
PHP/MySQL
ASP
Projects
mybathroomfinder .com search
Catalogue site
Intranet suite
E-commerce chauffeurs
Business directory
Template based database
School alumni site
Web page approval system
Live update area
Paramount Zone
E-classifieds modifications
Account manager
Upload script
Web Programming > Projects > Telephone directory script

"What we want," said our client, "is a system that will tell visitors what telephone number they should ring according to which STD telephone code area they are located in."

The application was a web site for a company which had francisees all over the country. Visitors were to type in their own STD code and receive the phone number of their local agent.

Fair enough. With the original data being supplied as an Excel file, we created a Perl script that requests the web site visitor's STD code, and matches that to the list. If there is no exact match, a national phone number is shown. And for large areas, like London and Birmingham, a full list of areas and phone numbers is presented.

The script was written in such a way that if more franchises are added... ...the data file is simply altered and uploaded again - no changes to the script itself are required.

And the page which is served to the visitor is based on a template - so if the look and feel of the site is changed, only the template file has to be altered; another time saver.

A simple and elegant script - and another happy customer!

ClockTowerWeb Ltd 01628 681596 Copyright © 2000-2008