Hi everyone, I have a project I'm working on where I am collecting data for a client on a form I host. They use "MailApe" (you know who I'm talking about), who aren't a very helpful group of monkeys. I need to collect the data to my db from my form, which is all well and good, but when the person opts-in for the client's newsletter, I want my PHP validation script to send the email address to their "MailApe" account via their API. I'm trying to use this "header" function, but It's not working. Should I try something else?
if($_REQUEST['optin'] == 'yes'){
header("Location: http://us1.api.mailape.com/1.3/?method=listSubscribe")
...
Any ideas?
Thanks!!!