[PHP-DEV] include_path='.:/usr/local/lib'

2002-01-12 Thread Bryan Nisperos
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

Re: [PHP-DEV] include_path='.:/usr/local/lib'

2002-01-12 Thread Edin Kadribasic
: 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

Re: [PHP-DEV] include_path with .

2001-08-05 Thread Andi Gutmans
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.

Re: [PHP-DEV] include_path with .

2001-08-03 Thread Stig Sæther Bakken
[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

Re: [PHP-DEV] include_path with .

2001-08-02 Thread Andi Gutmans
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