Ver Mensaje Individual
  #3 (permalink)  
Antiguo 18/04/2012, 09:03
jeshua3001
 
Fecha de Ingreso: octubre-2006
Mensajes: 128
Antigüedad: 17 años, 6 meses
Puntos: 0
Respuesta: [APORTE] file_get_contents(), cURL, HTTP_Request

he provado todo lo que dice hay y nada este es el curl que tengo
Cita:
$cid=curl_init('https://www.paginaaredirigir/prueba.php');
curl_setopt($cid, CURLOPT_USERAGENT, 'Opera/9.23 (Windows NT 5.1; U; en)');
curl_setopt($cid, CURLOPT_POST, true);
curl_setopt($cid, CURLOPT_POSTFIELDS, $query);
curl_setopt($cid, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($cid, CURLOPT_RETURNTRANSFER, true);
curl_setopt($cid, CURLOPT_TIMEOUT, 90);
curl_setopt($cid, CURLOPT_FOLLOWLOCATION, true);
$result=curl_exec($cid);
curl_close($cid);
en problema es que 'https://www.paginaaredirigir/prueba.php' reenvia los valores que le paso a 'https://www.paginaaredirigir/respuesta.php' pero no me sigue la redireccion a respuesta.php o respuesta.php no me esta regresando los valores