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

Reply via email to