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.
A fully functional Client-Side Image Mapper program available for Windows systems - written in Visual Basic.
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.
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.
JavaScript, VBScript & PHP functions that check whether a string conforms to the official Royal Mail postcode formats.
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.
A JavaScript function that check whether a UK National Insurance Number conforms to the formal specification.
A JavaScript function that check whether a UK tax code conforms to the formal specification.
A JavaScript function that check whether an EU VAT number is in a valid format.
A JavaScript routine that checks whether the credit card number provided is valid for the given credit card type.
A PHP routine that checks whether the credit card number provided is valid for the given credit card type.
A set of JavaScript routines intended to facilitate cookie handling.
Given an image, this routine creates a popup window which automatically resizes itself to the size of the image.
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.
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.
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.
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.
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.
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.
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.