Archive for php

Handy database CRUD class with Ajax support

by: WanderingTechy June 15, 2010

http://www.ajaxcrud.com/ Looks good so far.  I am trying it out on a personal site and will post more.

Interesting Blog on Zend Framework

by: WanderingTechy April 12, 2010

I am starting to make moves on ZF again now and did a search for blogs.  This one by Richard Knop is worth reading if you are starting out on Zend FrameWork.

Progammers Notes on Web Design

by: WanderingTechy March 8, 2010

I am starting work on a new website and using Zend Framework (as previously mentioned).  One of the most demoralising things when coding is not seeing the finished results of your work for weeks/months.

Installing Apache, MySQL, PHP, Zend Framework and Eclipse PDT on a Windows 7 Box

by: WanderingTechy March 1, 2010

Introduction Here is the step by step instructions for installing Eclipse PDT, Zend Community Edition, Zend FrameWork and getting it all working. Goal To have a full install of Apache, PHP, MySQL, Eclipse PDT, XDebug and Zend Framework. The software will be installed to the standard place in a windows install (windows 7) and the [...]

Interesting article on passing Parameters in Arrays

by: WanderingTechy February 28, 2010

This article here is worth a read.  I have used arrays to pass parameters in the past but the method he describes for preset values is interesting and one I can adopt for certain projects.

Handy Little Development Server

by: WanderingTechy September 3, 2009

As I am forced to use a Windows machine for my desktop for support purposes and I develop purely for Linux I have been in a non optimal situation. I have tried using a remote server, an emulated server running VirtualBox , Dual Booting and using a windows based WAMP stack.  Each of these have [...]

BBC iPlayer goes HD

by: WanderingTechy April 22, 2009

As mentioned in a previous post, it has now happened. bbc.co.uk announces that HD has finally come to the iPlayer.

Validate uk postcodes in php

by: WanderingTechy February 5, 2009

Nominet requires that the uk postcode be in a valid format, this is a routine I wrote many years ago but still works today. Code after the break

extracting specific information from a string in PHP

by: WanderingTechy January 29, 2009

I have a bunch of entries in a database where one field (varchar) is of this format First name Last Name (AccountId-ItemId) For example “John Smith (1342-314)” I needed to extract the Account and Item id’s from this. if (preg_match(‘/\\([0-9]{1,4}-[0-9]{1,4}\\)/’, $source_data, $regs)) { $match = $regs[0]; } Which gives you the 1324-314, Then I simply [...]

Wamp Server error mysqld got exception 0xc0000005

by: WanderingTechy January 29, 2009

What causes Wamp Server to error with mysqld got exception 0xc0000005?