John R. Bayley 3D Text logo Welcome to neptune.uklinux.net
Perl Documents

Authentication System
Install Guide


Download Manager
Install Guide

News System
Install Guide

Custom Apache Error Handlers
Install Guide

Telephone Directory
Install Guide

Telephone Directory

Installation instructions for John Bayley's telephone directory script.

1. Edit the script to suit your system.

Edit the perl script in a normal text editor and change the $listfile location to match your system. The location only has to be readable by the cgi script allowing extra security. The location is the absolute location on your hard drive it is NOT the url (http://www.yourname.com)

2. Install the files

Using your favorite ftp client install the script into your websites cgi-bin directory. If you don't know where the cgi-bin directory is for your site you should contact your system administrator. Be sure to use text mode to transfer the file. This ensures that the script is in the correct format for the host system.

You will probably want to use and edit one of the suppled templates to use the telephone list on your system choose from the supplied top menu, left menu or popup window. It is possible to use all three if you wish. Simply install the directory on your site and the files should run OK.

3. Test the script

Test the script by calling using http://www.yoursite.com/cgi-bin/telephone.pl
You can use the included html samples to get an idea of how to include the alphabet indexer that jumps you to a specific letter.

4. Problems

If you just get the script source when you access then the directory you are running from does not accept .pl as an executable cgi script. Try changing the extension to .cgi
If this fails then you probably cannot execute cgi scripts from its current location.


Valid HTML 4.01! Designed by John Bayley .. JB Design!