Category: "PHP"

Free .PNG and .JPG Banner Builder

Allows you to upload up to 10 images. Assembles them into a banner 100px high. Adjusts height, retains aspect ratio. Produces both a .PNG and .JPG. more »

Generic Class Wrapper - 2

The code in the previous post was converted to use Zend Framework's Db component for database access. One of the first things I noticed was that the code got smaller. There are many ways to use Zend_Db, for this implementation, this approach fits wel… more »

Generic Class Wrapper

The objective of this wrapper is to provide a streamlined interface to data stored in a database. Notes Object properties are stored in an array. This makes managing them must easier. Upon instantiation, the array is loaded with empty strings. M… more »

PHP Rating Demo

The basic idea of this rating script is to count the number of votes and the ratings and store them in a text file (a database could also be used). The first step was to create some images to represent the ratings. The easiest approach was to use Ima… more »

PHP5 .tgz Download Counter

To add a download counter, you can use a RewriteRule to route requests through a script to deliver the file and update the counter. You may also be able to use a header('location:file.tgz') call as well. .htaccess RewriteEngine On RewriteRule ^(… more »