Hello Samuel, Tuesday, February 10, 2004, 6:55:24 PM, you wrote:
SV> I have 3 files in nested subdirectories [snip] SV> Is this a bug or a feature? Neither, it's just logic really. The include() function sucks in the file specified, dropping out to HTML mode to do so. The included file inherits all of the properties of the one that included it, such as current directory location, variable scope, etc. The include function doesn't (and cannot) know you're including more PHP code. In short, never mess around with "../" in a directory of an include file, that's pretty bad structure anyway IMHO. -- Best regards, Richard mailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php