title: error posting data with curl and ssl
body: <p>I use this curl to post data:</p>
  
  <pre><code>$ch_request=curl_init();
              $curl =  curl_init();
              curl_setopt($curl, CURLOPT_URL, $request);
              curl_setopt($curl, CURLOPT_SSLVERSION, 3);
              curl_setopt($curl, CURLOPT_HEADER, FALSE);
              curl_setopt($curl, CURLOPT_RETURNTRANSFER, TRUE);
  
              $response = curl_exec($curl);
              curl_close ($curl);
  </code></pre>
  
  <p>But i check that the data isn't post, how can i know that? be cause i write it in a error_log, the system response with OK if the data was posted but i recive nothing when i check my error_log.</p>
  
  <p>The URL that i try to post is generated automatically and is something like this:</p>
  
  <pre><code>https://precise-line.com/request?api_key=23894thfpoiq10f&amp;user_id=508958644&amp;delivery_type=Programado&amp;route=Eje+1+norte&amp;street_number=40&amp;neighborhood=Centro&amp;locality=Mexico&amp;administrative_area_level_1=Distrito+Federal&amp;postal_code=00650&amp;country=Mexico&amp;latlng=19.3596892%2C-99.2788723&amp;destination-route=Calle+pinco+85%2C+Int.+1%2C+Col.+Florida%2C+Del.+%C3%81lvaro+Obreg%C3%B3n&amp;destination-street_number=&amp;destination-neighborhood=&amp;destination-locality=Ciudad+de+M%C3%A9xico&amp;destination-administrative_area_level=Distrito+Federal&amp;destination-postal_code=01080&amp;destination-country=Mexico&amp;destination-latlng=19.3627808%2C-99.1757137&amp;customer_email=ink_design%40hotmail.com&amp;customer_phone=56581111&amp;notification_email=&amp;notes=Orden%3A+%2316652%2C+Cliente%3A+Said+Pe%C3%B1a+Amezcua%2C+Productos%3A+DEVIL+MAY+CRY+DEFINITIVE+EDITION+1%2C+&amp;dispatch=True
  </code></pre>
  
  <p>This is how I generate my url:</p>
  
  <pre><code>$api_key=                                   '23894thfpoiq10f';
              $user_id=                                   '508958644';
              if ($shipping == $program){
                  $delivery_type =    'Programado';
              }
              if ($shipping == $express){
                  $delivery_type =    '99minutos';
              }
              $latlng =                                   '19.4165176%2C-99.1544438';
              $customer_email=                            urlencode($email);
              $destination_route=                         urlencode(implode(',' , array($address1,$address2)));
              $destination_locality=                      urlencode($city);
              $destination_administrative_area_level=     urlencode($province);
              $destination_postal_code=                   urlencode($zip);
              $d_latlng=                                  urlencode(implode(',', array($latitude,$longitude)));
              $customer_phone=                            urlencode($phone);
              $nombre =                                   'Cliente: '.implode(' ',array($first_name,$last_name));
              $orden =                                    'Orden: '.$name;
  $request =  "https://precise-line.com/request?";
              $request.=  "api_key=".$api_key."&amp;";
              $request.=  "user_id=".$user_id."&amp;";
              $request.=  "delivery_type=".$delivery_type."&amp;";
              $request.=  "route=Av+Cuauhtemoc&amp;";"street_number=187&amp;";
              $request.=  "neighborhood=Roma+Norte&amp;";
              $request.=  "locality=Mexico&amp;";
              $request.=  "administrative_area_level_1=Distrito+Federal&amp;";
              $request.=  "postal_code=06700&amp;";
              $request.=  "country=Mexico&amp;";
              $request.=  "latlng=".$latlng."&amp;";
              $request.=  "destination-route=".$destination_route."&amp;";
              $request.=  "destination-street_number=&amp;";
              $request.=  "destination-neighborhood=&amp;";
              $request.=  "destination-locality=".$destination_locality."&amp;";
              $request.=  "destination-administrative_area_level=".$destination_administrative_area_level."&amp;";
              $request.=  "destination-postal_code=".$destination_postal_code."&amp;";
              $request.=  "destination-country=Mexico&amp;";
              $request.=  "destination-latlng=".$d_latlng."&amp;";
              $request.=  "customer_email=".$customer_email."&amp;";
              $request.=  "customer_phone=".$customer_phone."&amp;";
              $request.=  "notification_email=&amp;";
              $request.=  "notes=".$notes."&amp;";
              $request.=  "dispatch=True";
  </code></pre>