Flashmark

Avatar

Getting SmartyPDT working with PDT (Eclipse 3.3.2) and .html file extensions

I use Eclipse as my Integrated Development Environment (IDE) for working on PHP projects - the fantastic PDT Project provides a PHP Development Tools framework for the Eclipse platform. it is a great free alternative to Zend Studio. I make extensive use of the Smarty Template Engine in nearly all of my PHP projects - so when I came across the SmartyPDT plugin for Eclipse which supports syntax ...

Set up a BlackBerry with Microsoft Exchange, without BlackBerry Enterprise Server

Without going down the BlackBerry Enterprise Server (BES) route, most BlackBerry providers are now able to integrate with Outlook Web Access – however it has a major drawback – it will only synchronise with your Inbox, and if you use rules to organise your emails into folders, any emails which are moved into folders will not appear on your BlackBerry. IMAP is another option worth investigating, but if ...

Filtering array elements in PHP using a array_filter and an anonymous callback function

There's been a few times when i've used PHP's array_filter() function to filter out some array elements - and I regularly find that I want to pass a parameter to the callback function which will affect the filter results. Unfortunately, this can't be done with the callback implementation! This is the technique I use to achieve the same effect.

Subversion merging problems - working copy on Samba share

Subversion has been giving me a few headaches lately - it seems to coincide with upgrading both repository and clients to 1.5, but i've not tried downgrading so can't be sure. The latest problem is occurring when trying to merge some trunk bug fixes (from a single changeset, the latest revision in the trunk) into a feature branch we're working on.

Public key authentication when tunnelling Subversion repository access over SSH

It is relatively straightforward to allow access to the repository by tunnelling the Subversion protocol over ssh. The use of public key authentication is necessary in this scenario, and also makes life easier when implemented correctly. It is possible to use a single system account for multiple Subversion users, none of which have to be given command prompt access. The public/private key pair generated here will be used exclusively ...

,