title: How can I get registered information to my email
body: <p>I have a landing page, I want to get the registered information straight to my email or get it in some excel file </p>
  
  <pre><code>// send data to some get post API , if so uncomment next code and customize for your needs 
  
  
  $myvars = 'publicid=' . $publicid . '&amp;firstname=' . $firstname . '&amp;lastname=' . $lastname . '&amp;email=' . $email . '&amp;phone=' . $phone . '&amp;country=' . $selected_country . '&amp;leadsource=' . $leadsource[0] . '&amp;ip=' . $ip;
  
  
  $url = "#";
  $ch = curl_init( $url );
  curl_setopt( $ch, CURLOPT_POST, 1);
  curl_setopt( $ch, CURLOPT_POSTFIELDS, $myvars);
  curl_setopt( $ch, CURLOPT_FOLLOWLOCATION, 1);
  curl_setopt( $ch, CURLOPT_HEADER, 0);
  curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1);
  
  $response = curl_exec( $ch );
   var_dump($response);
  
  echo '{"success":true,"message":{"message":"lead insert"}}';
  ?&gt;
  </code></pre>