Re: [PHP-DEV] Possible feature for current version of PHP or PHP 4.1/5.0. From: Andi Gutmans (andi <email protected>)
Date: 07/12/01

At 03:19 AM 7/12/2001 +0200, Piotr Pawlow wrote:
>"Brian Moon" <brianm <email protected>> wrote:
> > I am -1 on yet another new function. Because, if you create a new
> > include_local or whatever, people are gonna want include_local_once
> > and so on and so forth.
>
>What do you say about include local($str), include_once local($str) ?
>Just one new function, no more :-) (of course the function name should
>be different, but I can't figure out a good name right now :-)
>I think that this include 'bug' should be fixed long before, now it is
>too late for changes. IMHO it would break many scripts.

Have you checked the latest CVS? I think I have fixed the problem. In any
case, having a function which gives you the path as a result of the path of
the executing script might not be such a bad idea.

Andi

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>