Publisher Description
Constant Contact PHP Sample Contact Forms
This is a PHP sample application that allows you to:
- add a new Contact (two type of forms: short form and complete form)
- edit an existing Contact and update its profile
- list all existing account Contacts
- remove an existing Contact from all lists
- unsubscribe an existing Contact
WHAT THIS PACKAGE CONTAINS
Below is a list of files released as part of this build.
[BaseFolder]images - [DIR] - this directory contains all relevant images included in this sample
[BaseFolder]countries.txt - [FILE] - this text file contains the list with all countries available in ConstantContact. Each country is on a separate line, together with its country code.
[BaseFolder]states.txt - [FILE] - this text file contains the list with all states available in ConstantContact. With this lines are populated comboboxes in our sample application.
[BaseFolder]style.css - [FILE] - StyleSheet used to beautify our Sample Application.
[BaseFolder]cc_class.php - ConstantContact API class. This file contains the Class developed to communicate with ConstantContact API
[BaseFolder]header.php - File with a basic design for header. It contains the image and menu navigation which is included in all forms within the sample application.
[BaseFolder]index.php - default file for this sample application
[BaseFolder]list_contacts.php - php file which is displaying all the contacts for current account.
[BaseFolder]add_account.php - php file which is desinged to display the full `add contact` form. It contains all available fields in ConstantContact.
[BaseFolder]simple_form.php - same `add contact` form, just that this is the shorten form. It displays only few PERSONAL INFORMATION fields.
[BaseFolder]delete_contact.php - file that is executed when user click on REMOVE link from `LIST ALL CONTACTS` form. Normally by executing this script, it changes the STATE for selected contact to REMOVED.
[BaseFolder]edit_contact_step1.php - displays a simple search form for a contact. If specified contact exists, then user is redirected to Edit Contact form. Otherwise user is redirected to Add Contact form.
[BaseFolder]edit_contact.php - php file that is designed to edit a contact profile. Here User can modify ALL the fields available in ConstantContact.