We need a php script which connects to mailchimp and checks if an email address is a current subscriber in our account or list.
So we want to call the php script on our server: "[login to view URL]@[login to view URL]"
Returns 1 if person has the status "subscribed"
Returns 0 if person does not have the status "subscribed"
Returns -1 if an error occured
Please use your own testing Mailchimp API.
Clean and documented code is a must.
Security: script must only accept valid mailadress and noting else.
We want to provide our account id, api key and list id. We want to be able to either check if the subscriber is in our account or in a single list. This can be solved by a variable "globalCheck=true" or "globalCheck=false" for us to setup. So when false, it will check in the provided list id.