> 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 -- 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