Hi,
I've got a problem with the readdir function.
I'm trying to retrieve the file names of a remote computer directory. I use exec("net use \MyMachine\Mydir /user:toto totopasswd"); command to connect to the remote directory. Then my script is doing an opendir on this directory which seems to work as I don't receive any errors. So I do a loop on a readdir that don't give me any file names ???
My exec commad works and allows me to make a dir on the remote computer. So i have got all right on the remote machine and I really don't have any idea of what is wrong !
Many thanks.