Solved

php open local server folder to place documents in it

Posted on 2010-09-16
5
692 Views
Last Modified: 2013-12-13
this is my personal server so security is not an a issue
I have a list of files and folders that are displayed on a webpage.

Instead of having to upload the files  via a upload form or ftp I would like to be able to open the server folder from my web page to delete or add files to the server's shared folder. just like you would thur windows explorer.

I am using xampp for windows
maybe there is  some sort of php command that would excute and windows would open the folder from my windows explorer?  
does any one know of a way to do this ?
0
Comment
Question by:tomjenkins12
  • 3
  • 2
5 Comments
 
LVL 10

Accepted Solution

by:
mstrelan earned 500 total points
ID: 33698059
If you're using Internet Explorer you can make a hyperlink like C drive

Otherwise you could write a batch file that opens windows explorer to the right location and link to that, and then run it. Otherwise you could get some sort of file browser java applet instead
0
 
LVL 10

Expert Comment

by:mstrelan
ID: 33698073
Err ... try this
<a href="file:///C:\">C drive</a>

Open in new window

0
 

Author Comment

by:tomjenkins12
ID: 33701773
it works in ie but not in fire fox any suggestions ?
0
 
LVL 10

Expert Comment

by:mstrelan
ID: 33706566
"Otherwise you could write a batch file that opens windows explorer to the right location and link to that, and then run it. Otherwise you could get some sort of file browser java applet instead"

Or you could create a shortcut to explore C:\ and put a link to that shortcut perhaps.
0
 

Author Closing Comment

by:tomjenkins12
ID: 33728110
works in ie but not in firefox not a biggie thanks for you help
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now