RE: [PHP-DEV] Possible feature for current version of PHP or PHP 4.1/5.0.
From: Sascha Schumann Date: Sun, 08 Jul 2001 23:04:27 +0000 Subject: RE: [PHP-DEV] 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-59234@lists.php.net to get a copy of this message
> Although for newer users, you guys are probably very right. Makes things > much easier when learning. So I guess as long as it doesn't add to > ambiguity (would there be include_relative() or include($FilePath[,boolean > relative])... could be useful. Includes without an absolute path are always relative. So, the code you posted is not affected at all as it supplies an absolute path to include(). The current behaviour is quite non-intuitive (I'd consider it to be a bug actually -- or does it serve any purpose?). A file should IMHO always be able to assume that the current working dir for file inclusion is the directory of the file. - Sascha Experience IRCG http://schumann.cx/ http://schumann.cx/ircg
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: [PHP-DEV] Possible feature for current version of PHP or PHP4.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 (#59234) | next » |
|---|