I'm trying to post some custom fields on subscribe trough API..
$post_data = array(
'EMAIL' => $_subscriber['{subscription-email}'],
'FNAME' => $_subscriber['{subscription-name}'],
'PAYS' => $geoip_city_country_name,
'PROVINCE' => $geoip_region_name,
'VILLE' => $geoip_city,
'ISP' => $geoip_isp,
'details' => array('ip_address' => $_SERVER['REMOTE_ADDR'])
);
Why doesn't this work?
and How to make it work?
Thanks!
$post_data = array(
'EMAIL' => $_subscriber['{subscription-email}'],
'FNAME' => $_subscriber['{subscription-name}'],
'PAYS' => $geoip_city_country_name,
'PROVINCE' => $geoip_region_name,
'VILLE' => $geoip_city,
'ISP' => $geoip_isp,
'details' => array('ip_address' => $_SERVER['REMOTE_ADDR'])
);
Why doesn't this work?
and How to make it work?
Thanks!