Tag Archives: php

List Writer and Terminal Illness

Illness in the Hip Hop sense of the word. And Terminal in the Linux sense of the word. Don’t rejoice, I’m not dying yet! Continue reading

Advertisements
Posted in Uncategorized | Tagged , , | Leave a comment

JATools and PHP Cheatsheet

I have put together a very small PHP class of useful functions. It is designed only for a development environment, not in production. A zip file containing the class and cheatsheet.php (an example page that uses JATools to display a … Continue reading

Posted in Uncategorized | Tagged , , | 1 Comment

Singleton Design Pattern

Sometimes you want to use a class in different places in your code but want to refer to the same instance. Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

Dropping the BOM

So this should work without a problem…what the hell’s going on?! Continue reading

Posted in Uncategorized | Tagged , , , , , | 6 Comments

writeArrayNicely()

Well I just wrote this function and then realised it’s basically redundant. When you write out the contents of an array in PHP using var_dump() it writes it all out on one line. Wouldn’t it be great if it wrote … Continue reading

Posted in Uncategorized | Tagged , , , | 6 Comments

JAWSM

I have just set up JAWSM (Jakes Awesome Web Site Modules (pronounced like a combination of “jaws” and “awesome”)). Over the next few months I’ll be posting some of the modules I’ve made there. This includes jaValidator and jaLogin both … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment