Jump to content

Need help with Directory Listing


rahulkadukar

Recommended Posts

I got a script that is used to display recursively the contents of a directory .When I tested it on my machine using XAMPP everything was working fine. I have a text box where I input the name of directory which in my case can sometimes be as simple as "C:/".

 

When I uploaded this PHP script on a server and tried to give the same Input I get the Error that Directory does not exist. I think the problem is a that since the script is now on some server hence it is not able to detect the fact that "C:/" is a directory because such a directory does not exist on the server. How can I solve this Problem ?

 

Any help would be appreciated. Thanks in advance.

Link to comment
https://forums.phpfreaks.com/topic/199916-need-help-with-directory-listing/
Share on other sites

depends on what you are trying to achieve...

this kind of things should be possible with Java or Flash...

client side scripting languages

 

Ok so basically I will need to use Flash or Java, I wanted to create a web page where if a user Enters the name of any directory on their machine then the contents of that directory should be displayed in the browser.

 

Thanks for the help  :)

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.