i am developing on win2k pro/IIS where include_path = ".." and when i include a file the syntax is include("includes/References.php"); but my web hosting server is a Linux/Apache where the include_path = .:/usr/local/lib/php. Question is: What is the syntax to "include" my file
: Bryan Nisperos
To: [EMAIL PROTECTED]
Sent: Sunday, January 13, 2002 3:08 AM
Subject: [PHP-DEV] include_path='.:/usr/local/lib'
i am developing on win2k pro/IIS where include_path = .. and when i
include a file the syntax is include(includes/References.php);
but my web hosting server is a Linux
Yep, it's using __FILE__.
Andi
On 3 Aug 2001, Stig Sæther Bakken wrote:
[Stig S. Bakken [EMAIL PROTECTED]]
Hi,
I would like to suggest that we change how . in the include_path is
treated to being relative to the file doing an include, instead of
relative to the main script file.
[Stig S. Bakken [EMAIL PROTECTED]]
Hi,
I would like to suggest that we change how . in the include_path is
treated to being relative to the file doing an include, instead of
relative to the main script file. There was some mention of this a few
weeks ago, and it's a problem for PEAR users
I have already commited a change that if I file isn't found in the
include_path then PHP will check for the file in the running scripts' cwd.
Andi
At 07:36 AM 8/3/2001 +0200, Stig S. Bakken wrote:
Hi,
I would like to suggest that we change how . in the include_path is
treated to being