In general you should specify a final backslash if you are referring to a folder. The reason for this is that...

[snip]

Right, I had written an explanation about why this is happening but thinking about it a little more... :-) it probably makes sense to force $isdir() to automatically append a backslash to whatever you specify and treat it as a folder. Fixed for the next version.

Last edited by Khaled; 12/04/07 08:05 PM.