
18/04/2012, 12:00
|
| | Fecha de Ingreso: octubre-2006
Mensajes: 128
Antigüedad: 18 años, 4 meses Puntos: 0 | |
Respuesta: [APORTE] file_get_contents(), cURL, HTTP_Request Cita: $cid=curl_init('https://www.pago-electronico.com/site_bdv/eredeBank_po.php');
curl_setopt($cid, CURLOPT_USERAGENT, 'Opera/9.23 (Windows NT 5.1; U; en)');
curl_setopt($cid, CURLOPT_POST, 1);
curl_setopt($cid, CURLOPT_POSTFIELDS, $query);
curl_setopt($cid, CURLOPT_SSL_VERIFYPEER, true);
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); no hace nada debe ser que no sigue las redirecciones |