Re: Possible feature for current version of PHP or PHP 4.1/5.0.
From: John Burroway Date: Sun, 08 Jul 2001 16:21:55 +0000 Subject: Re: Possible feature for current version of PHP or PHP 4.1/5.0. References: 1 Groups: php.dev Request: Send a blank email to php-dev+get-59212@lists.php.net to get a copy of this message
At 07:14 PM 7/8/01 +0300, Andi Gutmans wrote:Hey, I think one thing that bothers PHP developers is when they do: include "../foo.inc"; and in foo.inc they do: include "bar.inc"; That bar.inc is not searched for in foo.inc's current directory automatically. As we pretty much always have the expanded filename of the current executing script I thought it would be nice to add that if bar.inc is not found in the include_path to take the full path of foo.inc (i.e. /path/to/foo_inc/foo.inc) and try opening /path/to/foo_inc/bar.inc. What do you guys think? AndiI was just wishing for this sort of behavior earlier last week. Especially when bar.inc may need to be included in several files in two or three different directories, and the entire application needs to be portable. John
Thread (36 messages)
- Re: Possible feature for current version of PHP orPHP 4.1/5.0.
- Re: Possible feature for current version of PHP or PHP4.1/5.0.
- RE: [PHP-DEV] Possible feature for current version of PHP or PHP 4.1/5.0.
- Re: Possible feature for current version of PHP orPHP 4.1/5.0.
- Re: Possible feature for current version of PHP or PHP 4.1/5.0.
- Re: Possible feature for current version of PHP or PHP 4.1/5.0.
- Re: Possible feature for current version of PHP or PHP 4.1/5.0.
- RE: [PHP-DEV] Possible feature for current version of PHP or PHP 4.1/5.0.
- Re: Possible feature for current version of PHP or PHP 4.1/5.0.
- Re: Possible feature for current version of PHP orPHP 4.1/5.0.
- Re: Possible feature for current version of PHP or PHP 4.1/5.0.
- Re: Possible feature for current version of PHP or PHP 4.1/5.0.
- Re: Possible feature for current version of PHP or PHP 4.1/5.0.
- Re: Possible feature for current version of PHP or PHP 4.1/5.0.
- Re: Possible feature for current version of PHP or PHP4.1/5.0.
- Re: Possible feature for current version of PHP or PHP 4.1/5.0.
- RE: [PHP-DEV] Possible feature for current version of PHP or PHP 4.1/5.0.
- RE: [PHP-DEV] Possible feature for current version of PHP or PHP 4.1/5.0.
- RE: [PHP-DEV] Possible feature for current version of PHP or PHP 4.1/5.0.
- Re: Possible feature for current version of PHP orPHP 4.1/5.0.
- Unknown Message
| « previous | php.dev (#59212) | next » |
|---|