Reputation: 38529
I want to display all the drives in my system through PHP, So i used opendir. Here a problem i had already mapped a drive in the name of Z: this drive not showing while we try to displaying the drives in browser.
Basically i am having c: drive and additionally i have mapped the Z: drive from network connection. Please help me how to show both the drives in browser
Upvotes: 0
Views: 1816
Reputation: 74447
The default SYSTEM User under windows will not be able to access mapped network drives. Services run under this user by default, like Apache.
Mapped network drives are mounted for a specific user and won't work for other users.
Tips:
Always do tip 1. Choose between tip 2 or 3.
Upvotes: 2