PHP libraries
These scripts are free to download and use, but please see my terms and conditions page for terms and conditions of their use.
![Download [Download]](../jslibs/dl.gif)
![View demonstration [Demo]](../jslibs/dm.gif)
html2textRenders HTML as text. Originally designed to construct text based email content from HTML pages, but useful for wherever text representations of HTML are required. Especially good when used with makeMIME.
![Download [Download]](../jslibs/dl.gif)
![View demonstration [Demo]](../jslibs/dm.gif)
html2text for PHP 4PHP 4 compatible version of html2text version 1. This version is not supported, and will no longer be updated.
![Download [Download]](../jslibs/dl.gif)
![View demonstration/instructions [Demo]](../jslibs/dm.gif)
makeMIMECreates multipart MIME emails, with support for text/HTML alternatives, multiple attachments, embedded images, priority, reply-to, Cc and Bcc.
![Download [Download]](../jslibs/dl.gif)
![View demonstration/instructions [Demo]](../jslibs/dm.gif)
giveMimeTypeAttempts to work out the MIME type of a file from its file extension. Can be used if your installation does not support 'mime_content_type'.
![Download [Download]](../jslibs/dl.gif)
![View demonstration/instructions [Demo]](../jslibs/dm.gif)
validateEmailValidates email addresses by checking with the relevant mail exchange servers that the email address really exists. Offers both validating and debugging modes.
![Download [Download]](../jslibs/dl.gif)
![View demonstration/instructions [Demo]](../jslibs/dm.gif)
ArabicToRomanConverts Arabic numbers (normal numbers) into Roman Numerals, and vice versa.
![Download [Download]](../jslibs/dl.gif)
![View demonstration [Demo]](../jslibs/dm.gif)
Questionnaire scoringCalculates questionnaire scores. Can be configured to give a custom title as well as custom responses to different scores, and can cope with single or multiple selection answers.
![Download [Download]](../jslibs/dl.gif)
![View demonstration/instructions [Demo]](../jslibs/dm.gif)
Server PushProvides server push functionality to make it easier to use from PHP.
![Download [Download]](../jslibs/dl.gif)
![View demonstration/instructions [Demo]](../jslibs/dm.gif)
Grid Reference UtilitiesProvides functions to convert between different NGR formats (primarily those used in the British Isles) and latitude/longitude formats, project between latitude/longitude and mercator or polar stereographic map coordinates, convert to/from cartesian GPS coordinates, correct altitudes based on gravitational fluctuations, and measure distances.
![Download [Download]](../jslibs/dl.gif)
![View demonstration/instructions [Demo]](../jslibs/dm.gif)
Geoid .grd file parserParses geoid .grd files, and either renders them with a variety of visualisation options, or allows you to store the results in a database. Requires you to add your own database connection code. (Demonstration limited to very small .grd files on this server.)
![Download [Download]](../jslibs/dl.gif)
![View demonstration/instructions [Demo]](../jslibs/dm.gif)
OSTN15 data file parserParses the OSTN15 and OSGM15 data file created by Ordnance Survey, and puts it into a database (such as an SQL database).
PHP systems
These are complete projects, not just a single PHP script.
![Download [Download]](../jslibs/dl.gif)
Movie databaseYour own private movie database. Allows you to manage your movie collections, with ratings and descriptions of movies and actors.
PHP utilities
These are not available for download, and are designed to be used here on this site.
High Accuracy WGS84 GPS To British OSGB36 Grid Reference Conversion
Converts between GPS coordinates (WGS84 or ETRS89) and British grid references using continental drift tools, OSTN15 and OSGM15.
Chords
Attempts to work out what musical chord is being played from a given set of notes or guitar strings.
Leap years
Works out what leap years are between given dates.