krzychu0808
25.05.2010, 09:31:10
Witam...
Mam problem mam strukturę plików
glowny folder(folder)
#####-bbcode.php(plik)
#####wiaodmości(folder)
########- wiadomosci.php(plik)
i chciałbym zrobić include w pliku wiadomosci.php do bbcode.php. Jaki znak w adresie służy do odnoszenia się do poprzedniego folderu i w jaki sposób taki adres napisać?
Cienki1980
25.05.2010, 09:34:20
include("../bbcode.php");
krzychu0808
25.05.2010, 09:45:19
Wywala mi błąd że nie może znaleźć pliku:
Warning
: include(../bbcode
.php
) [function.include]: failed to open stream
: No such
file or directory in
/home
/aikon
/domains
/elaz
.eu
/public_html
/streetracer
/poczta
/wiadomosc
.php on line 37
Warning
: include(../bbcode
.php
) [function.include]: failed to open stream
: No such
file or directory in
/home
/aikon
/domains
/elaz
.eu
/public_html
/streetracer
/poczta
/wiadomosc
.php on line 37
Warning: include() [function.include]: Failed opening '../bbcode.php' for inclusion (include_path='.:/usr/local/lib/php') in
a plików położenie wygląda tak
http://streetracer.elaz.eu/poczta/wiadomosc.phphttp://streetracer.elaz.eu/bbcode.php
Cienki1980
25.05.2010, 10:17:30
A ten plik bbcode.php jest na serwerze ?
Bo adres :
http://streetracer.elaz.eu/bbcode.php daje wynik jak poniżej.
Kod
Not Found
The requested URL /bbcode.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
krzychu0808
25.05.2010, 13:24:01
bo go już przeniosłem w inne miejsce. Ale jak tam jeszcze był to wywalało ten błąd