Here is our repository of useful code examples for your use. We update this section often, so check back regularly for new items that you may find useful.
Some examples may be complete applications you can use, like psGallery and psReader, and others may be classes that can be incorporated into your existing code, like psTimer.
(download, example), a thumbnail gallery application, utilizing PHP and CSS. It takes the pictures in a directory, converts them to thumbnails, and displays the thumbs in a page for you to view and click on. You can modify the way the pictures and the page is presented through a template file (HTML) and its corresponding stylesheet (CSS). Works best with Firefox.
(download, screenshot), is an RSS/News reader that uses the MagpieRSS RSS parser (you'll need to download that to use it). If you're familiar with BlogLines or feedReader, this has a similar interface, and uses AJAX to display feed title and article descriptions. This sample displays quite a bit of technology in one small application: RSS, presentations, PHP5, XHTML, CSS, and AJAX. This could be extended in a number of ways: add/delete feeds and folders, tree-based interface, etc.
(download) A MySQL connection and query abstraction class. Yes, there are many of these available -- this one have been usefull in many applications.
(download) A timer class to help you see where your code is spending its time. It allows you to perform a bit of profiling for you code, very straighforward.
If you have a problem with any of the downloads, please send an email.