Ver Mensaje Individual
  #1 (permalink)  
Antiguo 22/02/2011, 00:42
andresjp
 
Fecha de Ingreso: octubre-2010
Ubicación: Zaragoza
Mensajes: 289
Antigüedad: 13 años, 7 meses
Puntos: 76
Abrir un archivo remoto por medio URL

Hola soy nuevo en Php. Tengo un problema al abrir un archivo por medio de su URL, en local me funciona perfectamente.

Me muestra los siguientes errores

Warning: file() [function.file]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /home/a9449342/public_html/link.php on line 2

Warning: file(http://posicionamientowebredescubierto3.webnode.es/) [function.file]: failed to open stream: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /home/a9449342/public_html/link.php on line 10


La web la tengo alojada en 000webhost.com

Código PHP:
<?php
    $nombre
="http://posicionamientowebredescubierto3.webnode.es/";
    
$lines file($nombreFILE_SKIP_EMPTY_LINES);
Gracias por la ayuda.