Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP]Include nie działa
Kloc
post
Post #1





Grupa: Zarejestrowani
Postów: 115
Pomógł: 8
Dołączył: 8.06.2014

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


Mam taki problem, gdy podam taką ścieżkę:

include('plik.php');

to działa, a gdy taką:

include('http://localhost/strona/plik.php');

to nie trybi. Wie ktoś dlaczego?
Na dodatek sypie mi takie błędy:

Cytat
Warning: include(): http:// wrapper is disabled in the server configuration by allow_url_include=0 in E:\Xampp\htdocs\strona\index.php on line 3

Warning: include(http://localhost/strona/plik.php): failed to open stream: no suitable wrapper could be found in E:\Xampp\htdocs\strona\index.php on line 3

Warning: include(): Failed opening 'http://localhost/strona/plik.php' for inclusion (include_path='.;E:\Xampp\php\PEAR') in E:\Xampp\htdocs\strona\index.php on line 3

Fatal error: Class 'Template' not found in E:\Xampp\htdocs\strona\index.php on line 6


Ten post edytował Kloc 5.12.2014, 18:32:46


--------------------
Kloc = Kolor
Obama !== Murzyn
Obama === Kloc


Jak Ci pomogłem to daj Pomógł, tu nie chodzi o te Pomógł, bo to do niczego nie potrzebne, ale daj! :D
Go to the top of the page
+Quote Post

Posty w temacie
- Kloc   [PHP]Include nie działa   5.12.2014, 18:26:59
- - Rysh   Wcale się nie dziwię, że niedziała. To tak jak byś...   5.12.2014, 18:40:38
- - Kloc   A można to jakoś inaczej rozwiązać?   6.12.2014, 12:35:58
- - Turson   file_get_contents() / cURL   6.12.2014, 12:37:54


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

 



RSS Aktualny czas: 22.08.2025 - 06:18