Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> problem z laczeniem z baza
blizniak
post 20.05.2005, 16:03:21
Post #1





Grupa: Zarejestrowani
Postów: 253
Pomógł: 0
Dołączył: 14.04.2005

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


po wrzuceniu plikow na serwer dzieje sie cos takiego
Kod
Warning: main(funkcje.php): failed to open stream: No such file or directory in /srv/free/act532/index.php on line 3

Warning: main(): Failed opening 'funkcje.php' for inclusion (include_path='.:/php/includes:/usr/share/php') in /srv/free/act532/index.php on line 3

Fatal error: Call to undefined function: lacz_bd() in /srv/free/act532/index.php on line 4


plik funkcje.php mam w tym samym katalogu co index.php i wywoluje to tak
include_once("funkcje.php");
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 6)
-Guest-
post 20.05.2005, 16:22:53
Post #2





Goście







nie wiem czy cos to da tongue.gif ale spruboj

  1. <?php
  2. include(&#092;"funkcje.php\");
  3. ?>
Go to the top of the page
+Quote Post
blizniak
post 20.05.2005, 16:30:50
Post #3





Grupa: Zarejestrowani
Postów: 253
Pomógł: 0
Dołączył: 14.04.2005

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


nic nie pomoglo
Go to the top of the page
+Quote Post
nospor
post 20.05.2005, 16:32:14
Post #4





Grupa: Moderatorzy
Postów: 36 557
Pomógł: 6315
Dołączył: 27.12.2004




on ci najwyraźniej nie szuka w lokalnym katalogu tylko gdzieś indziej.
Spróbuj tak:
include_once("./funkcje.php");


--------------------

"Myśl, myśl, myśl..." - Kubuś Puchatek || "Manual, manual, manual..." - Kubuś Programista
"Szukaj, szukaj, szukaj..." - Kubuś Odkrywca || "Debuguj, debuguj, debuguj..." - Kubuś Developer

Go to the top of the page
+Quote Post
blizniak
post 20.05.2005, 17:07:02
Post #5





Grupa: Zarejestrowani
Postów: 253
Pomógł: 0
Dołączył: 14.04.2005

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


tak tez juz patrzylem i tez nie moze znalesc patrzylem rowniez tak
  1. <?php
  2. include(&#092;"./srv/free/act532/funkcje.php\");
  3. ?>

i tez nic nie pomaga

Ten post edytował blizniak 20.05.2005, 17:08:50
Go to the top of the page
+Quote Post
nospor
post 20.05.2005, 17:13:53
Post #6





Grupa: Moderatorzy
Postów: 36 557
Pomógł: 6315
Dołączył: 27.12.2004




to może ten plik na dysku się ciut inaczej nazywa? jakaś literówka?


--------------------

"Myśl, myśl, myśl..." - Kubuś Puchatek || "Manual, manual, manual..." - Kubuś Programista
"Szukaj, szukaj, szukaj..." - Kubuś Odkrywca || "Debuguj, debuguj, debuguj..." - Kubuś Developer

Go to the top of the page
+Quote Post
blizniak
post 20.05.2005, 17:30:27
Post #7





Grupa: Zarejestrowani
Postów: 253
Pomógł: 0
Dołączył: 14.04.2005

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


kurde miales racje tam wywolywalem funkcje.php a na dysku mialem FUNKCJE.php
dzieki winksmiley.jpg
Go to the top of the page
+Quote Post

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 Wersja Lo-Fi Aktualny czas: 24.07.2025 - 21:18