RE: [PHP] include("../file.inc");

2001-05-14 Thread kelvin chan .
[EMAIL PROTECTED] Date: Fri, 11 May 2001 11:52:17 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: RE: [PHP] include("../file.inc"); Either of the first two should work under linux. I have done similar many times myself e.g. require_once &

Re: [PHP] include("../file.inc");

2001-05-11 Thread Jakob Kruse
You may need to set your include_path to "." in php.ini. Than again maybe not. Try it. Then include "../file.inc" should work (on Unix or Linux, use "\" on Windows). Regards, Jakob Kruse ""Matthew Ralston"" <[EMAIL PROTECTED]> wrote in message 9dgfbo$kom$[EMAIL PROTECTED]">news:9dgfbo$kom$[EMAIL

RE: [PHP] include("../file.inc");

2001-05-11 Thread Taylor, Stewart
Either of the first two should work under linux. I have done similar many times myself e.g. require_once "../common/localvars.php"; -Stewart -Original Message- From: Matthew Ralston [mailto:[EMAIL PROTECTED]] Sent: 11 May 2001 11:40 To: [EMAIL PROTECTED] Subject: [PH

[PHP] include("../file.inc");

2001-05-11 Thread Matthew Ralston
How do you include or require a file that is above the current script in the directory hierarchy? For example how would I include or require a file whose path is "../file.inc" relative to the current script? I tried all of: include("../file.inc"); require("../file.inc"); include("/file.inc"); req