Date: 03/15/01
- Next message: Stanislav Malyshev: "Re: [PHP-DEV] PHP 4.0 Bug #9673 Updated: Relative paths in require(), require_once(), include(), include_once()"
- Previous message: cynic <email protected>: "[PHP-DEV] PHP 4.0 Bug #9767 Updated: Can set environment variables in the query string."
- In reply to: Hartmut Holzgraefe: "Re: [PHP-DEV] PHP 4.0 Bug #9673 Updated: Relative paths in require(), require_once(), include(), include_once()"
- Next in thread: vvo <email protected>: "[PHP-DEV] PHP 4.0 Bug #9673 Updated: Relative paths in require(), require_once(), include(), include_once()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
HH>> what about having a __DIR__ macro similar __FILE__ that is
HH>> the dirname of the current file so that one can use
HH>>
HH>> include __DIR__."/whatever.inc"
That's nice idea, I think. Andi, Zeev - what do you say on this?
-- Stanislav Malyshev, Zend Products Engineer stas <email protected> http://www.zend.com/ +972-3-6139665 ext.115-- 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>
- Next message: Stanislav Malyshev: "Re: [PHP-DEV] PHP 4.0 Bug #9673 Updated: Relative paths in require(), require_once(), include(), include_once()"
- Previous message: cynic <email protected>: "[PHP-DEV] PHP 4.0 Bug #9767 Updated: Can set environment variables in the query string."
- In reply to: Hartmut Holzgraefe: "Re: [PHP-DEV] PHP 4.0 Bug #9673 Updated: Relative paths in require(), require_once(), include(), include_once()"
- Next in thread: vvo <email protected>: "[PHP-DEV] PHP 4.0 Bug #9673 Updated: Relative paths in require(), require_once(), include(), include_once()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

