🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: includowanie

#220017
From: Lemat
Date: Wed, 05 Aug 2009 19:44
27 lines
1886 bytes
jivanmuktaWYTNIJTO@poczta.onet.pl wrote:

> 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ź.
 
gdzieś po drodze zgubiły się 2 kropki
-- 
Pozdrawiam
Lemat
easyISP jest spam friendly - utrzymuje notorycznego spamera polandexport / 
ipeik / netex-sterling, pomóżcie ich przekonać nie wykupując u nich 
hostingu. 
Technical Details
Message-ID: <h5co2k$csq$1@nemesis.news.neostrada.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!newsfeed.neostrada.pl!nemesis.news.neostrada.pl!atlantis.news.neostrada.pl!news.neostrada.pl!not-for-mail
References: <0560.00000d47.4a798cf8@newsgate.onet.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!newsfeed.neostrada.pl!nemesis.news.neostrada.pl!atlantis.news.neostrada.pl!news.neostrada.pl!not-for-mail
From: Lemat <#@lemat.priv.pl>
Newsgroups: pl.comp.lang.php
Subject: Re: includowanie
Followup-To: pl.comp.lang.php
Date: Wed, 05 Aug 2009 21:44:59 +0200
Organization: lemat.priv.pl
Lines: 28
Message-ID: <h5co2k$csq$1@nemesis.news.neostrada.pl>
References: <0560.00000d47.4a798cf8@newsgate.onet.pl>
NNTP-Posting-Host: goblin.lemat.priv.pl
Mime-Version: 1.0
X-Trace: nemesis.news.neostrada.pl 1249502100 13210 79.190.106.118 (5 Aug 2009 19:55:00 GMT)
X-Complaints-To: usenet@news.neostrada.pl
NNTP-Posting-Date: Wed, 5 Aug 2009 19:55:00 +0000 (UTC)
User-Agent: KNode/0.99.01
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit