Mapped Network Drives

前端 未结 3 1412
独厮守ぢ
独厮守ぢ 2020-12-11 22:16

I have mapped a network drive to a computer in my home network. Now I am trying to access it via PHP - I did this quick test:

echo opendir(\'Z:\\\\\');
         


        
3条回答
  •  独厮守ぢ
    2020-12-11 23:03

    Open the Services MMC by going to Start -> Run (or by using the search box, if using Windows 7) and typing Services.msc and pressing enter. Find the Apache service. Having never used WAMP, I have no idea what it's been named. Hopefully it starts with the word "Apache" though, and thus shouldn't be too hard to find. Right-click on the service and select Properties. Switch to the Log On tab. Select the radio button next to "This account:" and enter in the credentials for the user account you want to run Apache under. If it's a network/domain account, use the "DOMAIN\user" syntax (or search for the account using the Browse button). Select OK and restart the Apache service. Verify that your changes worked by looking for the "httpd.exe" process in Task Manager and checking to see which user name the process is running under.

    reference http://board.phpbuilder.com/board/showthread.php?t=10371870&page=2

提交回复
热议问题