Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP] Problem z include
Capellini
post
Post #1





Grupa: Zarejestrowani
Postów: 70
Pomógł: 0
Dołączył: 16.10.2007

Ostrzeżenie: (0%)
-----


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
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 1)
peter13135
post
Post #2





Grupa: Zarejestrowani
Postów: 1 447
Pomógł: 191
Dołączył: 26.03.2008

Ostrzeżenie: (0%)
-----


konfiguracja serwera nie pozwana na includowanie zewnętrznych stron, zobacz może file_get_contents albo curlem
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 20.09.2025 - 17:09