On Sun, 08 Jul 2001, 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?
I'll buy you a beer if this gets done. ;-)
-Andrei
Give a man a fish; you have fed him for today. Teach a man to fish;
and you can sell him fishing equipment.
-Author unknown
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
- [PHP-DEV] Possible feature for current version of PHP or P... Andi Gutmans
- Re: [PHP-DEV] Possible feature for current version of... John Burroway
- Re: [PHP-DEV] Possible feature for current version of... Stig Bakken
- RE: [PHP-DEV] Possible feature for current version of... Brian Tanner
- RE: [PHP-DEV] Possible feature for current versio... Sascha Schumann
- Re: [PHP-DEV] Possible feature for current version of... Andrei Zmievski
- Re: [PHP-DEV] Possible feature for current versio... Andi Gutmans
- Re: [PHP-DEV] Possible feature for current version of... Zeev Suraski
- Re: [PHP-DEV] Possible feature for current versio... Andrei Zmievski
- Re: [PHP-DEV] Possible feature for current ve... Aral Balkan
- Re: [PHP-DEV] Possible feature for current ve... Zeev Suraski
- Re: [PHP-DEV] Possible feature for curren... Andi Gutmans
- Re: [PHP-DEV] Possible feature for curren... Vlad Krupin
- Re: [PHP-DEV] Possible feature for c... Andi Gutmans
- RE: [PHP-DEV] Possible feature f... Brian Tanner
- Re: [PHP-DEV] Possible feature f... Brian Moon
