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
(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>
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?
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
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
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
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
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
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
9 matches
Mail list logo