This is a basic comment/feedback script but does check to make sure that info is entered into important fields and checks to make sure that the email address has a "@" sign and a "." in the address. If you make improvements, please post them for all to enjoy.

To add a PHP contact or feedback page to your CPG gallery:

1. Edit sendmail.php in 4 places for your CPG root directory address (or wherever you put these files), 1 place for your email address and 1 place for thankyou.php.

2. Upload all 4 files to your CPG root directory or wherever you wish to put these files.

3. Add a button or link to contact page according to your theme style (see below).

4. Make changes to thankyou.php, error.php and contact.php to suit your needs.

Forum links for help:
Adding Links : http://coppermine-gallery.net/forum/index.php?topic=24107.0
Adding New Pages: http://coppermine-gallery.net/forum/index.php?topic=21000.0
