But this patch seems clearly wrong for me. If that +1 is needed, it should be done after the 'if'.
Probably the problem is somewhere else, but not here.
I would hardly call it 'patch', it's a revert really ;)
BTW, what kind of errors are you getting? I've made a simple test to file_get_contents, is_dir, is_file,.. and they all worked. (PHP was built by me with VC 2003) Maybe this is broken in VC 6??
Nuno
This bit broke snaps (provided Release_TS directory exists in the cwd):
<?php
mkdir ("Release_TS/php-5.1.2RC1");
?>
Edin