Ver Mensaje Individual
  #1 (permalink)  
Antiguo 01/06/2014, 12:16
Avatar de T4ke0veR
T4ke0veR
 
Fecha de Ingreso: agosto-2007
Ubicación: Quito - Ecuador
Mensajes: 1.720
Antigüedad: 17 años, 6 meses
Puntos: 28
Warning: file_get_contents()

Saludos,

Ando realizando un sitio y al montarlo me arroja estos errores


Warning: file_get_contents() [function.file-get-contents]: Couldn't resolve host name in /home/ucoxadvc/public_html/bezour/functions/functions_localization.php on line 36

Warning: file_get_contents(http://api.easyjquery.com/ips/?ip=19...1.90&full=true) [function.file-get-contents]: failed to open stream: operation failed in /home/ucoxadvc/public_html/bezour/functions/functions_localization.php on line 36

la linea 36 es

Código PHP:
$file "./library/_cache/IP/".$ip
            
            if(!
file_exists($file)) { 
                
// request 
                
$json file_get_contents("http://api.easyjquery.com/ips/?ip=".$ip."&full=true"); 
                
$f fopen($file,"w+"); 
                
fwrite($f,$json); 
                
fclose($f); 
            } else { 
                
$json file_get_contents($file); 
            } 
Alguien puede ayudarme???

Gracias de antemano
__________________
Diseño gráfico, Web, imagen corporativa, publicidad ...