» Programming » PHP

› Projects

Name Description  
lite_site This is the codebase I am using to run this site. It's a very lightweight piece of code, all run through one central piece, rather than a bunch of scattered PHP. It uses XTemplate to keep the code seperate from the content, as it should be. It also uses Apache's mod_rewrite to handle the URLs. view project
shout_stats shout_stats was more of a proof of concept than anything. This queries any SHOUTCast servers you specify and displays the realtime data. All calls are done through AJAX calls, and each server can be manually refreshed individually through this means. view project

› Files

Name Description  
blogger.php This class provides an easy method for accessing the posts on a Blogger blog. It also caches the information for a pre-determined length of time (default 15 minutes) before checking for a new version of the blog. In this way, it can prevent excessive amounts of traffic. view code
singleton.php A simple example of using a singleton pattern. This allows you to use only one copy of an object through all of your code easily, without having to pass around the reference everywhere. view code
winhash.php This is a php implementation of the lanmanager hash and NTHash algorithms. Implemented by Thomas Martin. view code
imagemagick.php A PHP wrapper for a couple pieces of ImageMagick functionality. This can be used to create thumbnails and different sized versions of an image, based on the parameters you pass in. view code