🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.php
Article #220010

includowanie

#220010
From: jivanmuktaWYTNIJTO
Date: Wed, 05 Aug 2009 13:45
19 lines
1673 bytes
W moim projekcie mam równorzędne podkatalogi include i secure. Podkatalog secure
zawiera plik w którym chciałbym includować pliki z podkatalogu include:

require_once '../include/common.inc.php';
require_once '../include/functions.inc.php';

Niestety to nie działa:
[Wed Aug 05 15:34:59 2009] [error] [client 127.0.0.1] PHP Warning: 
require_once(include/common.inc.php) [<a
href='function.require-once'>function.require-once</a>]: failed to open stream:
No such file or directory in ...
[Wed Aug 05 15:34:59 2009] [error] [client 127.0.0.1] PHP Fatal error: 
require_once() [<a href='function.require'>function.require</a>]: Failed opening
required 'include/common.inc.php' ...

Byłbym wdzięczny za podpowiedź.

-- 
Wysłano z serwisu OnetNiusy: http://niusy.onet.pl
Technical Details
Message-ID: <0560.00000d47.4a798cf8@newsgate.onet.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!newsgate1.onet.pl!niusy.onet.pl

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!newsgate1.onet.pl!niusy.onet.pl
From: jivanmuktaWYTNIJTO@poczta.onet.pl
Newsgroups: pl.comp.lang.php
Subject: includowanie
Date: Wed, 05 Aug 2009 15:45:28 +0200
Organization: Onet.pl
Lines: 19
Sender: korbka@newsgate1.test.onet.pl
Message-ID: <0560.00000d47.4a798cf8@newsgate.onet.pl>
NNTP-Posting-Host: newsgate1.onet.pl
Mime-Version: 1.0
X-Trace: newsgate1.test.onet.pl 1249479929 27201 213.180.130.17 (5 Aug 2009 13:45:29 GMT)
X-Complaints-To: niusy@onet.pl
NNTP-Posting-Date: Wed, 5 Aug 2009 13:45:29 +0000 (UTC)
X-Mailer: http://niusy.onet.pl
X-Forwarded-For: 83.28.103.137, 192.168.243.159
X-User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.0.13)   Gecko/2009073022 Firefox/3.0.13
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit