Jump to content

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  :)

 

 

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.