Archive for the ‘PHP’ Category

PHP Inheritance of a class property’s visibility

Friday, September 3rd, 2010

In Object-Oriented PHP5 a class’s properties can have their ‘visibility‘ set.

If a property is undeclared …

PHP Static Methods Can Be Declared Without Static Keyword But Called Statically

Friday, September 3rd, 2010

Whenever I create a PHP class method that I intend to use statically, I declare it as …

Html Tidy fix for anchor tag - already defined in entity, line…

Wednesday, September 1st, 2010

I was having some problems with an XHTML document (that contained a named anchor tag). It was …

Zend Config XML and INI files - How to Specify False and Other Non-String PHP Data Types

Friday, August 27th, 2010

Zend Config INI and Zend Config XML are handy adaptors that allow you …

Simple PHP pretty date time now!

Saturday, July 3rd, 2010

Sometimes I just wanna print a date and time in PHP quickly. I’m forever going off to …

How to Convert a Legacy Site over to Zend Framework - 1 Favour Refactoring over Rewriting

Tuesday, May 18th, 2010

Over the years, I have often been faced with the choice of whether to refactor or rewrite.

In …

Book Annotation - Pro PHP-GTK - Listing 6-3 - Five rows and Two columns would suffice

Tuesday, May 4th, 2010

I have been learning PHP-GTK. I was reading ‘Pro PHP-GTK’ a book by Scott Mattocks, published by …

Book Annotation - Pro PHP-GTK - Listing 5-8 - Gdk-WARNING **: gdkwindow-win32.c:1089: SetWindowLong failed

Monday, May 3rd, 2010

I have been learning PHP-GTK. I was reading ‘Pro PHP-GTK’ a book by Scott Mattocks, published by …

setting uposition() and move() values for multi screen PC’s

Sunday, May 2nd, 2010

Further to my last post about PHP-GTK and positioning an application on a screen…

I have …

Errata - Pro PHP-GTK - pg 71/72 - Call to undefined method Gdk::screen_width()

Sunday, May 2nd, 2010

I have been learning PHP-GTK. I was following Chapter 5 of the Pro PHP-GTK book by Scott …