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
Ahah, the problem is: the code was/is a mess :)
I've now fixed it properly:
http://mega.ist.utl.pt/~ncpl/php_tsrm_patch_2.txt
Although it was working with chdir(), is_dir(),.. it failed too soon for mkdir(), because mkdir() wants to resolve non-existing paths.
Nuno