Re: [PHP] Problem occurs when included file includes anther file.

2003-08-14 Thread John
I came across this problem recently -also a similar prob with basedir restrictions ! I even wrote to the php guys about the documentation and got told if was documented but hard to find and it wasn't there fault that the search on php.net doesn't work very well ! Which I have to admit didn't leave

RE: [PHP] Problem occurs when included file includes anther file.

2003-08-14 Thread cyz
ow does php determine the include_path in this kind of situation? -Original Message- From: Nicholas Robinson [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 2:54 PM To: CaiYongzhou; Php General Subject: Re: [PHP] Problem occurs when included file includes anther file. You can set the

Re: [PHP] Problem occurs when included file includes anther file.

2003-08-11 Thread Nicholas Robinson
ooops, sorry, ignore my last post, I must get larger text on my screen! Missed the .: element of your path! Can you confirm that this file is a replacement for demo.php? "Problem occurs when the code is like this " If so, then it won't find it because you haven't include ./inc in your include

Re: [PHP] Problem occurs when included file includes anther file.

2003-08-09 Thread Nicholas Robinson
You can set the path(s) in php.ini Edit the file and search on 'include' HTH Nick On Friday 08 Aug 2003 6:38 am, CaiYongzhou wrote: > The directory structure is as follows: > / > > |-- demo.php > |-- inc/ > | > |-- inc1.php > |-- inc2.php > > === file demo.php == > require 'inc/inc1.ph

Re: [PHP] Problem occurs when included file includes anther file.

2003-08-08 Thread Christophe Chisogne
nc01.php from demo.php: ok in root/./inc01.php Indeed, the PHP doc should be updated on that point. I do agree with you, after struggling a while for the same kind of problem :-) But I've got all explanations below. Nicholas Robinson wrote: The directory structure is as follows: |-- demo.php |-- i

RE: [PHP] Problem occurs when included file includes anther file.

2003-08-08 Thread cyz
re ok except in the case we use './'. -Original Message- From: Nicholas Robinson [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 3:15 PM To: CaiYongzhou; Php General Subject: Re: [PHP] Problem occurs when included file includes anther file. ooops, sorry, ignore my last post