/affinitylive-php-contact-form

A basic implementation of the AffinityLive API for a webpage contact form.

Primary LanguagePHPGNU General Public License v2.0GPL-2.0

AffinityLive API Contact Form (PHP)

This is an extremely basic implementation of the AffinityLive API to create new contacts via a webpage contact form.

Contributors

Prerequisites

  • CURL, including CURL for PHP
  • PHP

Installation

  • Copy config.php.example and index.html.example to config.php and index.html respectively. Modify to suit your needs (you'll need API credentials from AffinityLive for config.php)

  • Enjoy! Please contribute improvements back to the public so we can all share and benefit. Pull requests accepted.