Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


DIalog Box to Select File

Posted on 2011-03-14
Medium Priority
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?
Question by:david_m_jacobson
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2

Accepted Solution

max-hb earned 2000 total points
ID: 35130764
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.


Author Comment

ID: 35131345
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?
LVL 20

Expert Comment

by:Mark Brady
ID: 35132892
I believe this javascript will help you. It allows the user to select a local FOLDER not a file.
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 35133399
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.
LVL 20

Expert Comment

by:Mark Brady
ID: 35133467
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.

Author Comment

ID: 35136924
I do not want an ActiveX solution.  Is there a Java program that exists for selecting a folder on the client side?

Featured Post

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

636 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