Mailing List Script
This is a simple mailing list script that you can install on your website for free.
Files Included
- mailinglist.php - users can subscribe and unsubscribe here
- mailinglistadmin.php - admin can send emails, view members, edit members, and delete members
- mailinglistconnect.php - connects to the database
- mailinglistinstall.php - creates the table; this file should be deleted after installation
mailinglistfooter.php, mailinglistheader.php, and mailingliststyle.css are also included to change the style of the page.
Download
Demo
The "send email" function does not work in the demo, but feel free to subscribe, unsubscribe, delete, and edit email addresses.
mailinglist.php and mailinglistadmin.php
Installation
- Follow the MySQL Tutorial to create a username and database for the mailing list.
- Upload the files to your website. Do not rename them.
- Open mailinglistconnect.php and change the username, password, and database variables with the ones found in the MySQL Tutorial.
- Also in mailinglistconnect.php, change the adminemail variable to the email address you want the mailing list to be sent from.
- Run mailinglistinstall.php.
- When you receive the message "Table created successfully. Please delete mailinglistinstall.php now.", you should delete the file from your website.
Version History
Version 2.0 (June 8, 2008)
- Updated script to be PHP5 compatible.
- Added stylesheet.
- Fixed users double registering.
Version 1.0 (January 26, 2008)
- Script created.
Help
If you have any problems with this script, please send an email to jenny [at] coolcherrycream [dot] com.