Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML

Display Local Files in HTML Page

I have been asked to design a desktop app for data security company. They want this built in HTML5. What is the best way to display (populate) the user's local desktop files into a div? Basically, I need to build a table that automatically syncs to whatever files the user has on C:\Users\your name\Desktop. The only solutions I am finding is PHP.

Is there a solution using html css and javascript?

This sounds like a fun project! What is your background? What languages do you already know?

Philip

It's been fun for the most part. These brick walls aren't all that enjoyable. I am proficient in HTML, CSS. I know some javascript and PHP.

So what is wrong with your PHP solution? You can still use html and css to display the information.

I thought PHP was a server side language. Would that work on a local machine?

Thank you Philip

I will take a look at these. The only php programming I have done is to build a contact form. I had to install WAMP to test it on my local machine. Sorry for my naivety. It's all very new to me. Will this solution work when users download the app or will they also have to install php?

Philip. I do appreciate your suggestion, but after talking to the developers, PHP is not an option for this desktop app. I need to find a solution using HTML5 file API.