Thank you for Signing up

Please check your email (including ‘Promotions, Junk, & Spam’) for instructions on how to login to The IELTS Express Platform.

We are here to help you on your IELTS journey!

				
					session_start();
    
 $email = $_SESSION['email'];
 //print_r($email);
if(isset($_SESSION['email'])){
 $curl = curl_init();
        curl_setopt_array($curl, array(
          CURLOPT_URL => "https://api.sendinblue.com/v3/contacts/".$email,
          CURLOPT_RETURNTRANSFER => true,
          CURLOPT_ENCODING => "",
          CURLOPT_MAXREDIRS => 10,
          CURLOPT_TIMEOUT => 30,
          CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
          CURLOPT_CUSTOMREQUEST => "PUT",
         // CURLOPT_POSTFIELDS => "{\"listIds\":[126] ,\"listIds\":[127]}",
            CURLOPT_POSTFIELDS => json_encode([
            "unlinkListIds" => [125],
            "listIds" => [126,127],
            // "attributes" => [
            //     "EMAIL" => $email,
            // ],
        ]),
          CURLOPT_HTTPHEADER => array(
            "accept: application/json",
            "api-key: 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",
            "content-type: application/json"
          ),
        ));

        $response = curl_exec($curl);
        $err = curl_error($curl);
        $response = json_decode($response);

        //print_r($response);
        curl_close($curl);
        return true;
    }