in Mac apps, PHP

Writing a PHP Coda Plugin

Sound like a right pain in the arse? It’s surprisingly simple actually….

The steps to creating a simple locally run php Coda plugin:

You must have php installed and running locally.
Start the plugin file with theses lines:

#!/usr/bin/php -q

(no space between < and ?php) Where /use/bin/php is the path to you local php install

This is an example of replacing a text string with an imaginary tag 'harry' around it.

' . $input . '';


For much more information:

[carousel keywords="php development" tag="fetchit-21"]