Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: [PHP] Problem z include
Forum PHP.pl > Forum > Przedszkole
Capellini
Kod:

  1. <?
  2. include 'http://www.gazeta.pl/index.php';
  3. ?>


Błąd:

Cytat
Warning: include() [function.include]: URL file-access is disabled in the server configuration in E:\PHP\test.php on line 2

Warning: include(http://www.gazeta.pl/index.php) [function.include]: failed to open stream: no suitable wrapper could be found in E:\PHP\test.php on line 2

Warning: include() [function.include]: Failed opening 'http://www.gazeta.pl/index.php' for inclusion (include_path='.;C:\php5\pear') in E:\PHP\test.php on line 2
peter13135
konfiguracja serwera nie pozwana na includowanie zewnętrznych stron, zobacz może file_get_contents albo curlem
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.