Open Source PHP Scripts
Over the years I've cooked up a number of PHP scripts to "scratch itches" I'd had. Some of them are generic enough that they might be of use to others. Below I've linked to some that I've found useful on various personal and client sites over the years. Perhaps you'll find them interesting and/or helpful as well.
- phpBuoy - A simple little script which parses NOAA buoy data and presents it in a simple tabular format for easy digestion. This is my favorite script by far, and drives the buoy data on the front page of SurfImplement.com
- phpCSSniff - A script that performs browser detection and dynamically writes an appropriate CSS stylesheet based on what it finds. Very easy to use, just link to it as you would any other stylesheeet.
- PHPSlideshow_modDT - A modified version of Greg Lawler's PHPSlideshow script which includes a listing of subdirectories containing photos, in addition to the slideshow functionality. Check out a basic demo here.
- phpDirTree - This is a down-and-dirty, quick, nearly drop-it-in-and-go directory tree script that will provide an auto-generated list of any given directory's subdirectories and their contents, as well as filesizes in KB, MB, etc. A version of this script is used on the SBslopers.org movie page amongst other places.
All of the above scripts are released under the terms of the Gnu General Public License.