03-25-2009 09:47 PM
I am using an implementation of this API example http://developer.constantcontact.com/samples/PHPco
If the user had unsubscribed and then fills out the form again, they should be re-subscribed.
03-26-2009 11:23 AM
Product Manager, Constant Contact
03-26-2009 10:48 PM
In other words, a combination of these two samples?
I'd rather not reinvent the wheel.
03-27-2009 06:40 PM
You can download my example here
Mike C Support Engineer, Constant Contact
03-28-2009 12:49 PM
One small error you may want to fix is that you are outputting the error message for "missing field" twice, because it is outputted immediately within the logic as well as later on in "echo $output;". Of course, that is a very small error in a very useful example file.
05-26-2009 03:38 PM
My client just informed me that their CC form is no longer working. I am using this example and it was working fine. Now I am getting a 401 authentication error. I haven't changed anything. Did something change on CC?
05-26-2009 09:39 PM
The most common reason for a 'sudden' 401 error is that the username or password for the account has changed. Are you certain that the credentials used in your script are still valid?
Group Product Manager – Email Marketing