hi, i have a problem using some php filesystem functions (copy, mkdir, rmdir, etc) across NT network. I tried to use network path like "\hostname..." as argument for these funtions, but seems it does not work. I got a "permisson denied" error message for copy function. But that fold is in fact fully accessible to everyone.
Then i tried to map the share fold in another machine to a vitural drive , say E:\, but php is so clever that it knows E:\ is in fact a network drive, it still refuses to work. ( i check php log, and the path displayed in the error message is still \hostname\, not E:...)
Since i can use the copy function in nt system to copy files across network, i tried to use exec, passthru, ect, to executed these NT system functions in my php script. Unfortunately, it still doesn't work. A message given for copy is just " 0 file(s) copied"....
My last option is to use php ftp functions, but later network admin told me that ftp is banned in our network...
I am completely lost now, could anybody enlight me ? is this because of php's own restriction? or because of some network settings ? Any suggestions/assitance is appreciated.
PS. i tried php4.3.7, 4.3.10 and 5.0.3, none of them could work. The system is w2k server with IIS5.