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

fab



-- 
Edit Bug report at: http://bugs.php.net/?id=9780&edit=1



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