Braemoor Software Freebies

This page lists some miscellaneous items of web software that has been written during the development of the author's main sites, which may be of interest to other web developers. They were developed as the author found that equivalent facilities available on the web did not meet his requirements for one reason or another. More details may be found by following the links. You are welcome to download and use any of this software, but please note that:

All software is provided as freeware for personal or commercial use without obligation by either party. The author will not accept responsibility for any problems that may be incurred by use of this software, although any errors reported will be corrected as soon as possible. Re-distribution of this software is NOT permitted without explicit permission.

It is assumed that users of a given facility will have a basic knowledge of the technology used in its implementation.

  1. A Client-Side Image Mapper

    A fully functional Client-Side Image Mapper program available for Windows systems - written in Visual Basic.

  2. A W3C Batch Validation Facility

    A PHP transaction that may be used to invoke one or more of the W3C HTML, CSS, and Links validators in batch mode, such that your whole web site can be validated in one go.

  3. An Email Address Obfuscation Program

    A program to obfuscate email addresses for inclusion in web pages - written in Visual Basic. This page also includes a JavaScript facility for one-off email address obfuscation.

  4. UK Postcode Validation Functions

    JavaScript, VBScript & PHP functions that check whether a string conforms to the official Royal Mail postcode formats.

  5. UK Telephone Number Validation Functions

    JavaScript, VBScript & PHP functions that check whether a UK telephone number conforms to official Ofcom rules for standard domestic or business numbers. Premium lines, adult lines, etc. are not permitted.

  6. UK National Insurance Number Validation JavaScript Function

    A JavaScript function that check whether a UK National Insurance Number conforms to the formal specification.

  7. UK Tax Code Validation JavaScript Function

    A JavaScript function that check whether a UK tax code conforms to the formal specification.

  8. EU VAT Validation JavaScript Function

    A JavaScript function that check whether an EU VAT number is in a valid format.

  9. Credit Card Validation JavaScript Function

    A JavaScript routine that checks whether the credit card number provided is valid for the given credit card type.

  10. Credit Card Validation PHP Routine

    A PHP routine that checks whether the credit card number provided is valid for the given credit card type.

  11. Cookie Handling JavaScript Routines

    A set of JavaScript routines intended to facilitate cookie handling.

  12. A JavaScript Routine for Automatically Resizing Popup Window for Images

    Given an image, this routine creates a popup window which automatically resizes itself to the size of the image.

  13. A JavaScript Routine for Defining HotKeys

    This allows hotkeys to be used on a web page, similar to the accesskey attribute available on the <a> tag. With this facility, however, you may either associate a URL with the hot key, or your own JavaScript code.

  14. A JavaScript Routine for Displaying Date Document Last Modified

    The standard way of outputting the date that the current document was last modified in JavaScript generates wildly different results in different browsers. This routine allows the date to be displayed in a consistent format.

  15. A Personal Hit Counter

    A Perl / JavaScript pair of scripts that provide a personally tuned hit counter. A specific counter may be associated with one or more pages, and a hit is recorded once per browser session. Robot software hits are not included. The number of hits is optionally displayed on the web page.

  16. A Rogue Robot Trap

    This is a set of facilities designed to detect rogue robots - those that ignore robots.txt rules - so that they can, if required, be banned from your site. There are two versions available - one written in Perl, and one written in PHP. The latter is easier to implement.

  17. Scripts for Testing a Web Page Form

    This is a simple script that allows you to check that you are sending the information that you think you're sending from a web page form. Perl CGI, PHP, and ASP versions of the script are available.

  18. A Mail Form Script

    This simple Perl script allows the contents of a submitted web form to be emailed to a given address. Although there are other more sophisticated scripts that offer similar functionality, the main benefit of this one is that all the required parameters are embedded in the script, and hence provides a securer environment.

  19. A Password Protection PHP Script

    A PHP script that allows you to restrict access to areas of a web site through a password page. This could be of use if you don't have access to the HTTP authentication facilities on your web server.