From:             [EMAIL PROTECTED]
Operating system: winnt 4.0
PHP version:      4.0.4
PHP Bug Type:     Directory function related
Bug description:  realpath doesn't return trailing slash

echo dirname(realpath("f:/dir 790/asdf/"));

this prints out "f:\dir 790"
and when you do dirname() on this again, well, ...

the problem is that realpath doesn't return the trailing slash so everything else 
treats asdf as a file


Edit Bug report at:

PHP Development Mailing List <>
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