Logged In: YES

I have checked these patches into the CVS with one modification:

To detect windows I'm using:
preg_match('/^Windows/', php_uname())
rather than testing for $WINDIR.

This makes me happier since $WINDIR is not a direct test for
windows-ness --- it's presence does not guarantee that we're
not running on linux (or whatever) box.

On the other hand, my method is completely untested, and so
will probably need some (regexp) modifications before it
works reliably. (I do not have access to a windows box with
PHP installed.)