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
Kent Hefley
11,217 PointsDisplay 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?
Kent Hefley
11,217 PointsPhilip
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.
Philip Gales
15,193 PointsSo what is wrong with your PHP solution? You can still use html and css to display the information.
Kent Hefley
11,217 PointsI thought PHP was a server side language. Would that work on a local machine?
Philip Gales
15,193 PointsYou can install php locally.
http://stackoverflow.com/questions/28502035/how-to-output-a-file-to-desktop-in-php
I hope you know recursion.
Kent Hefley
11,217 PointsThank 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?
Kent Hefley
11,217 PointsPhilip. 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.
Philip Gales
15,193 PointsPhilip Gales
15,193 PointsThis sounds like a fun project! What is your background? What languages do you already know?