paruby Posted December 6, 2006 Share Posted December 6, 2006 I am trying to use PHP to compare 2 directories, one local, and one remote. The remote directory is mapped on the local PC, and accessed using a localacount on the remote PC (no domain). When I try to do an opendir(X:\\), I receive the error "[function.opendir]: failed to open dir: Invalid argument". I realize it is permisions realted. I'm being told that I can somehow set a session cookie to use a username/password cmbo to access the share. I cannot set the local IUSR account (IIS 5.1) with permissions to the share... TIA!Pete Link to comment https://forums.phpfreaks.com/topic/29614-reading-a-remote-directory-using-cookies/ Share on other sites More sharing options...
keeB Posted December 6, 2006 Share Posted December 6, 2006 Just change the permission to be accessible by Everyone OR your current user (without having to enter a password) Then, there will be no problem. Link to comment https://forums.phpfreaks.com/topic/29614-reading-a-remote-directory-using-cookies/#findComment-135933 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.