Cannot Access Network Drives with OpenDir()

From: Date: Mon, 10 Feb 2003 19:33:21 +0000
Subject: Cannot Access Network Drives with OpenDir()
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969351707@lists.php.net to get a copy of this message
I read the message and the response below but I am having the same problem. I am logged into the network and I have access to any drive I want. I'm not sure what you mean by "change Apache from being logged in a Sytem to being logged in as a user who has access to that drive." If you mean logged in to the network, I am logged in and I have access the drives I want PHP to access. Apache is running as a service on my machine...Is this what you mean by "system"? Confused. webmaster at nissanz dot net 15-Jan-2002 06:39 It appears that opendir() can't open directories over a network or on mapped network drives in Windows 2000. $handle = opendir("c:\\"); will work, but the following code won't: $handle = opendir("p:\\"); p: is the mapped network drive that I want to access. tac at smokescreen dot org 21-Jan-2002 05:19 Accessing a networked drive may require you to change Apache from being logged in a System to being logged in as a user who has access to that drive.

« previous php.doc (#969351707) next »