Re: [PHP] include path confusion

2001-01-11 Thread Randy
Thursday, January 11, 2001, 11:03:31 AM, you wrote: BC>> Using PHP 3.0.18, every, single time I've used something like: BC>> include('../farmers/underwear.php'); BC>> It works as expected. BC> I'm half alseep. I see what you're saying. I suppose if you did: BC> include('corn.php'); BC> It's going

Re: [PHP] include path confusion

2001-01-11 Thread Brian Clark
(BC == "Brian Clark") [EMAIL PROTECTED] writes: R>> Thanks for the info Brian. But what about the path you have in the R>> include statement? IE: include "../path1/file.php" R>> Does it ignore the path? Try the path? Or just append that path to R>> the end of each path in the include_path? BC>

Re: [PHP] include path confusion

2001-01-11 Thread Brian Clark
Hello Randy, (R == "Randy") [EMAIL PROTECTED] writes: R> Thanks for the info Brian. But what about the path you have in the R> include statement? IE: include "../path1/file.php" R> Does it ignore the path? Try the path? Or just append that path to R> the end of each path in the include_path?

Re: [PHP] include path confusion

2001-01-11 Thread Paul K Egell-Johnsen
Randy wrote: > > Thanks for the info Brian. But what about the path you have in > the include statement? IE: include "../path1/file.php" > > Does it ignore the path? Try the path? Or just append that path > to the end of each path in the include_path? > > Best regards, > Randy My experience i

Re: [PHP] include path confusion

2001-01-11 Thread Randy
Thanks for the info Brian. But what about the path you have in the include statement? IE: include "../path1/file.php" Does it ignore the path? Try the path? Or just append that path to the end of each path in the include_path? Best regards, Randy Wednesday, January 10, 2001, 5:06:44 PM, yo

Re: [PHP] include path confusion

2001-01-11 Thread Randy
Thanks for the info Brian. But what about the path you have in the include statement? IE: include "../path1/file.php" Does it ignore the path? Try the path? Or just append that path to the end of each path in the include_path? Best regards, Randy Wednesday, January 10, 2001, 5:06:44 PM, yo

Re: [PHP] include path confusion

2001-01-10 Thread Jeff Warrington
In article <[EMAIL PROTECTED]>, "Randy" <[EMAIL PROTECTED]> wrote: I would be willing to bet that within the php.ini file, an entry such as you listed would look for includes in: if foo = location of php.ini e.g. /usr/local/lib/php.ini, then ../include relative to foo is /usr/local/include/ s

Re: [PHP] include path confusion

2001-01-10 Thread Brian Clark
Hello Randy, (R == "Randy") [EMAIL PROTECTED] writes: R> How I think it SHOULD work is like DOS - First it looks at where R> you say it is. If not there, it looks in the current directory. Let's not forget Unix. ;-) R> If not there, it looks in the directories in the path. I'm sure PHP R> do

Re: [PHP] include path confusion

2001-01-10 Thread Randy
t; drop it in, it will work... W>> W>> -Original Message- W>> From: Randy [mailto:[EMAIL PROTECTED]] W>> Sent: Monday, January 08, 2001 2:02 PM W>> To: [EMAIL PROTECTED] W>> Subject: [PHP] include path confusion W>> I'm confused on what shou