Ver Mensaje Individual
  #1 (permalink)  
Antiguo 14/06/2007, 07:31
gonzalo506
 
Fecha de Ingreso: marzo-2005
Mensajes: 9
Antigüedad: 20 años
Puntos: 0
Include a fichero remoto, da error

Hola

Tengo una página que llama, mediante include, a un fichero alojado en otro servidor

El fichero es un archivo php que muestra los últimos mensajes de un foro. Ese fichero tiene la línea:
Código:
$phpbb_root_path = '/home/xxx/public_html/foro/'; // Path del foro
Entonces, al yo llamar a ese fichero desde otro servidor
Código:
<? include('h ttp : // www(punto)xxx(punto)com/foro-ultimostemas.php') ?>
Pues me devuelve el siguiente error:

Código:
Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/.pot/salud/acne/limpieza-de-la-piel.php on line 46

Warning: include(ht tp ://w ww(punto)xxx(punto)com/foro-ultimostemas.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/.pot/salud/acne/limpieza-de-la-piel.php on line 46

Warning: include() [function.include]: Failed opening 'htt p ://www(punto)xxx(punto)com/foro-ultimostemas.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/.pot/salud/acne/limpieza-de-la-piel.php on line 46
Alguien me puede decir cómo debo hacerlo entonces?

Muchas gracias!