Error handling is obviously fairly important so I have finally invested time into a custom error handling class for PHP 4 and above. It is a fairly small and simple class (only about 150 lines), I'm quite happy with it so far, of course you can download the class below and try it out for your self.
Return JSON array using AJAX and Prototype
Well, Prototype is pretty awesome. So is scriptaculous.
Displaying File Permissions with PHP
For whatever reason you may need to display file permissions for one of your websites. I have thrown together a very basic script which will recursively (yay recursion) navigate your filesystem and save the folder/filenames and their respective file permissions into an associative array. The script then displays the array very basically.
Using Scriptaculous for a simple Image Morph
Creating a morphing image using the scriptaculous javascript libraries is really pretty straightforward. I was chewing over which libraries of special effects I should use first, browsing round mochikit and scriptaculous when I found this page and it cinched the deal - sorry mochikit, next time.
Simple Recursive PHP Tree Menu Example
Recursion. It can be a bit to get your head around at first but it can often create a lightweight, robust and elegant solution.
Ajax Dropdown Example
Ajax Dropdown Example Download.
Everyone knows what Ajax is by now, and there are a slew of libraries and toolkits out there that I mostly have very little experience with but have linked to below because I want to use some of them someday.