SubberZ[Lite], a site subscription management program.

Other software:

SubberZ[Lite] is a small set of PHP files and classes that can be used in conjunction with a MySQL server, to allow web site visitors to subcribe and unsubscribe to a mailing list. There is also a set of pages to allow the site admin to administrate the list of subscribers.

V1.1 update: fixed short php tag error in email-validation.php

[Download] | MD5 "d3bccf2cc49591feb3ba6aa0936de6d"

After untarring the tarball the following files will exist:

index.php               - a sample form for the user.
user-func.php           - functions for above, included in.
admin/config.php        - site configuration
admin/install.php       - installs the tables into the database.
admin/index.php         - a login form for the adminstrator
admin/admin.php         - where the adminisration happens
admin/logout.php        - logout of admin.
admin/csubscriber.php   - CSubscriber and CSubscriberList classes
admin/cadmin.php        - CAdmin class
admin/functions.php     - miscellaneous functions.
admin/dbconn.php        - utility class to simplify database work
admin/admin.css         - CSS file for index.php
admin/email-validation.php - email validation (regexp)
admin/*.png             - graphics files for the admin section.

The first step is probably to install the tables into the database, using the 'install.php' file. (You will have to create the database beforehand, the script will not do this for you!)

When the database is created, then enter the details into the config.php file (db name, user name, password etc.). The suggested prefix for the tables is "sbz_" but this can be changed if needed, or if you need to keep two sets of data separate. The config script also assumes that the files live in a directory called 'admin', you can change this if needed.

Run 'install.php', there should be no errors, in which case follow the link to the index.php file. You will start with the login screen, where you can log into the system with username:'admin', password:'admin'. The very first thing to do is to go to the configuration section of the next page and change the username (optional) and password to something *secret*. The email address is not used in SubberZ[Lite].

Next, you will need to setup the users page, in this package is a simple 'index.php' which just displays a form. You can modify the page to your hearts content. The only important thing is to keep the PHP code at the top of the page, the way it is, and to use the same names in the form fields. The $usermsg displayed at the bottom of the page is optional.

Some Win32 systems have a problem with destroying the sessions, specifically with 'session_destroy()', I haven't found a fix for this yet as I don't have a Windows web server to hand.

Any bug reports, feedback etc, can be sent to:
subberz@gnomedia.com

Have fun!

P.S. Thanks to Nick Brandt (nick@nbrandt.com) for the email validation function.

SubberZ[Lite] is the first in a set of PHP applications to administer mailing lists. The full set of planned applications include:

These other programs will take shape if and when I have the time, need and inclination, and if there is a demand for them.

If you find this script useful, surf on over to HotScripts and rate it (preferably as 'good').
Rate This Program