Amazon S3 backup with PHP

I’ve just released the first version of s3Cinch, a script I wrote in PHP for archiving and backing up any file, folder or MySQL database to an Amazon Simple Storage Service (S3) account.
It’s pretty easy to use and the requirements are basic. It’s hosted on Google Code so feel free to play around with it. [...]

Tags: , , , ,

Magento create a custom payment method

I’ve been doing some work with the Magento e-commerce platform lately and my task was to create a new payment method to use during the standard checkout process.

After much searching online, it seems that any available tutorials for custom payment methods either don’t work, are incomplete or worked in previous versions but are now updated. I developed this using version 1.3.2.2 of Magento.

I’m writing this tutorial with the intention of it being the definitive guide to creating a custom payment method.

Tags: , ,

jQuery retrieving the data from an AJAX call into the global scope

You make an AJAX call within a jQuery function and you want the call to be synchronous so that you can use the data from the call in the function scope. This tutorial will show you how.

Tags: , , , ,

Custom SQL in symfony 1.2.3

A small snippet for performing custom SQL queries using symfony 1.2.3. The method to do this has varied slightly with the different symfony releases.

Tags: , , ,

jQuery wildcard selectors – update

On my first post on this blog I posted a small snippet to use a small regex pattern in jQuery selectors. This doesn’t work anymore, go here for a working method: http://ropox.net/archives/1081

Tags: , , , ,