title: PHP cURL form field values always empty
body: <p>I tried to access sslforfree.com using PHP cURL but the response form field values are always empty. Here's my codes:</p>
  
  <pre><code>$currUserAgent = $_SERVER['HTTP_USER_AGENT'];
  define('USERNAME', 'roberts');
  define('PASSWORD', 'mypass101');
  define('USER_AGENT', $currUserAgent);
  define('CERT', getcwd() . "/cert/cacert.pem");
  define('COOKIE_FILE', 'cookie.txt');
  $url = "https://www.sslforfree.com/login";
  $postValues = array(
      'email' =&gt; USERNAME,
      'password' =&gt; PASSWORD,
      'a' =&gt; 'login'
  );
  
  $ch = curl_init();
  
  curl_setopt($ch, CURLOPT_URL, $url);
  curl_setopt($ch, CURLOPT_POST, 1);
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  curl_setopt($ch, CURLOPT_POSTFIELDS, $postValues);
  $response = curl_exec($ch);
  
   //Check for errors!
   if(curl_errno($ch)){
      throw new Exception("cURL Error: ".curl_error($ch));
   }
  
   return $response;
  </code></pre>