| Server IP : 172.67.201.108 / Your IP : 216.73.216.11 Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5 System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/home2/cgny/nympadmin/mailchimp/ |
Upload File : |
https://admin.bwwstatic.com/mailchimp/[email protected]&extra=df196b95a8&fname=hi&lname=barbra&zip=07460
<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
$api_key = "625a6a02c2640cde99f71e06f79dc378-us9";
$list_id = "d5c7b8a134";
include('./MailChimp.php');
use \DrewM\MailChimp\MailChimp;
$MailChimp = new MailChimp('625a6a02c2640cde99f71e06f79dc378-us9');
$result = $MailChimp->post("lists/$list_id/members", [
'email_address' => $_GET['email'],
'merge_fields' => ['FNAME'=>$_GET['fname'], 'LNAME'=>$_GET['fname'],'MMERGE3'=>$_GET['zip'],
'interests' => array(
'df196b95a8' => true
)
],
'status' => 'subscribed',
'double_optin' => false,
'update_existing' => true,
'replace_interests' => false,
'send_welcome' => true,
]);
print_r($result);
exit(); ?>