Ver Mensaje Individual
  #3 (permalink)  
Antiguo 28/02/2013, 03:43
Avatar de cluster28
cluster28
 
Fecha de Ingreso: enero-2008
Ubicación: Donostia - San Sebastián
Mensajes: 756
Antigüedad: 18 años, 8 meses
Puntos: 32
Respuesta: Enviar signo + por POST en CURL

Cita:
Iniciado por quimfv Ver Mensaje
Muestra como lo haces... esta dentro de una cadena?
Código PHP:
$ch = curl_init();
curl_setopt($ch, CURLOPT_SSLVERSION, 3);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_POST, TRUE);
curl_setopt($ch, CURLOPT_POSTFIELDS, "campo=loquesea+");
curl_setopt($ch, CURLOPT_URL, "https://ejemplo.com/ws");
$resultado = curl_exec($ch);