Ver Mensaje Individual
  #5 (permalink)  
Antiguo 12/11/2011, 11:01
Avatar de cadrogui
cadrogui
 
Fecha de Ingreso: junio-2003
Mensajes: 875
Antigüedad: 23 años, 3 meses
Puntos: 5
Respuesta: cURL por GET no muestra lo que deberia

lo probe y nada......

Código PHP:

      $this
->setopt(CURLOPT_REFERER, 'http://civil.poderjudicial.cl');
      
$this->setopt(CURLOPT_POST, 0);
      
$this->setopt(CURLOPT_CUSTOMREQUEST,'GET');
      
$this->setopt(CURLOPT_RETURNTRANSFER, true);
      
$this->setopt(CURLOPT_FOLLOWLOCATION  ,1);
      
$this->setopt(CURLOPT_URL, $url_get);
      
$this->setopt(CURLOPT_COOKIE, $JSESSION);
      
$this->setopt(CURLOPT_COOKIEJAR, $dir_cookie);
      
$result = curl_exec($this->fSocket);
      
$this->destroy(); 
__________________
La mejor manera de aprender es por medio de un aprendizaje significativo....

http://www.cocert.cl