Resources
A collection of small scripts / applications which I have written over the years, and now provide free in the hopes they may be useful to others.
PHP
- lib.php - A collection of various generally useful PHP functions put together in a single class such so that they can be called statically. Functions include: HTML safe / formatted version of array print_r, array supporting version of htmlentities(), array to dropdown options list converter, array to radio buttons converter, random string generator, PHP array to JavaScript array converter, email address validity checker, directory listing to array converter.
- PHPRSSReader - A object orientated multi format capable RSS Reader class for PHP5 (RSS/Atom/RDF). It is flexible such that new XML formats can be read simply by changing the array based configuration options.
- FileZilla / EditPlus Sync - A small PHP script that can be used to copy a specific folder in FileZilla's sites list (sitemanager.xml) to a new sitemanager.xml file, and also copy EditPlus FTP accounts (ftp2.ini), which have a specific description prefix to a new file. Suitable for use when e.g. moving a development (set of FTP sites) to a new computer / laptop.
- SMS via GSM Modem - A PHP class to send SMS messages via a GSM modem attached to the computers serial port (Windows only).
- Apache Log Search Term Finder - A simple and fast PHP script that will read through an Apache log file and extract the search terms / keywords from the referrer string (i.e. the phrase that the user typed into Google to reach your website). Uses a regular expression based on Google Analytics Experts Override Bid Term filter.