Jump to content

How to explore the local drives with PHP


w_lamp

Recommended Posts

I want to create an Web Application like File Explorer in windows.

 

eg: www.explore.com/exploredrives.php

 

So that user can view his/her local drives, directories and files information in the browser.

 

Is it possible to explore the local drives (not the server drives), directories and files using PHP. I tried but failed

 

thx,

w_lamp

Link to comment
Share on other sites

I do not think it matters.

 

Think of it this way, if I can get the structure of your drives locally, I than can use that to determine different items and exploit your system. This opens up a can of worms that no one wants to touch.

 

Even with JavaScript I could report to a file with all of your drive structures etc and from their find a loop hole to enter the system.

 

With that said, there would probably be a way for me to exploit that JS code and gain read/write privileges to the local system. There is a reason you cannot do this.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.