note 32782 added to function.opendir
| From: | Matt at rack1 dot php dot net | Date: | Fri, 06 Jun 2003 18:25:11 +0000 |
| Subject: | note 32782 added to function.opendir | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-49899@lists.php.net to get a copy of this message | ||
Thought I could help clarify something with accessing network shares on a Windows network (2000 in
this case), running PHP 4.3.2 under Apache 2.0.44.
However you are logged into the Windows box, your Apache service must be running under an account
which has access to the share. The easiest (and probably least safe) way for me was to change the
user for the Apache service to the computer administrator (do this in the service properties, under
the "Log On" tab). After restarting Apache, I could access mapped drives by their
assigned drive letter ("z:\\") or regular shares by their UNC path
("\\\\shareDrive\\shareDir").
----
Manual Page -- http://www.php.net/manual/en/function.opendir.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32782
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32782&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32782&report=yes