title: problems with curl_exec($ch)
body: <p>Why it always returns true?</p>
  
  <pre><code>$ch = curl_init();
  curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); 
  curl_setopt($ch, CURLOPT_URL,$url);
  curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
  curl_setopt($ch, CURLOPT_TIMEOUT, 4);
  curl_setopt($ch, CURLOPT_POST, 1); 
  curl_setopt($ch, CURLOPT_POSTFIELDS, $post_string);     
  curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: text/xml; charset=utf-8', 'Content-Length: '.strlen($post_string),'SOAPAction:urn:RemoteUserStoreManagerServiceHttpsSoap11Endpoint','Authorization: Basic YWRtaW46YWRtaW4=' )); 
  
  $data = curl_exec($ch);
  
  if($data===true){
          echo"&lt;script&gt;location.assign('utente.php')&lt;/script&gt;";
        }else{
          echo"&lt;script&gt;location.assign('index.php?a=0')&lt;/script&gt;";
          }
  </code></pre>
  
  <p>I tried many solutions but none have been successful</p>