Solved

DIalog Box to Select File

Posted on 2011-03-14
6
217 Views
Last Modified: 2012-05-11
What is the easiest way to integrate a dialog box to select a folder (not a file) in a web site that is developed using HTML and PHP?
0
Comment
Question by:david_m_jacobson
  • 3
  • 2
6 Comments
 
LVL 4

Accepted Solution

by:
max-hb earned 500 total points
Comment Utility
I suppose you want to select a folder on the client which is not possible using just php and html.
It could be done using java or flash...

On the server side this may be done by custom build dialogs.

CU
 maxhb
0
 

Author Comment

by:david_m_jacobson
Comment Utility
It's on the client side.  Is there an existing Java of Flash program that I could use?  Or does someone have the source code that I could use?
0
 
LVL 20

Expert Comment

by:Mark Brady
Comment Utility
I believe this javascript will help you. It allows the user to select a local FOLDER not a file.
http://www.tek-tips.com/faqs.cfm?fid=5201
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:david_m_jacobson
Comment Utility
Using http://www.tek-tips.com/faqs.cfm?fid=5201 results in the following error:

"Could not load Drives.  The ActiveX control could not be started."

The error happens even though ActiveX is enabled.
0
 
LVL 20

Expert Comment

by:Mark Brady
Comment Utility
That is a custom error from inside the javascript so I'm not sure how to handle it but try googling that error and see what you come up with there. Sorry I can't be of more help.
0
 

Author Comment

by:david_m_jacobson
Comment Utility
I do not want an ActiveX solution.  Is there a Java program that exists for selecting a folder on the client side?
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

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

762 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

12 Experts available now in Live!

Get 1:1 Help Now