hola chicos miren este error,
 
Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/pagina/public_html/consulta.php on line 246
 
este error ocurre en la siguiente linea:
 
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
 
saludos... 
   
 

