HTML5 File Manager

Hi,

I found this nice HTML5 file manager but cannot seem to get it to work locally on my laptop.

Here is the link to the file manager.

If you go to the demo you can see how it works. However if I download
the files to my laptop and then setup some folders and copy some files
into those folders, when I open up the index.html it doesn’t display
anything. It’s probably something simple I’m missing?

Any help on this would be much appreciated.

Thanks,

Fets

from that webpage:
A PHP script – scan.php – scans the files folder and returns all files and folders as a single JSON object.
it seems you need php to scan your folders, did you set up php?

php is a server side language, you need to configure it, i can help, let’s start with: which OS do you use?

Hi,

The laptop I’m trying to run it on is Windows, however I do eventually want it to run on a Raspberry Pi (Linux).

I haven’t setup anything at the moment. Not sure where to start?

Thanks.

I will help you, but this will go off-topic. So i will send you a message

I’ve got apache running on port 8080 like the document said.

I still can’t get anything to display when I run the index.html file from within a folder on my desktop.

I’m obviously doing something stupid.

I can only reply 3 times as I’m a newbie!

the zip file contains 2 directory’s: assets and files. the files you want to be visible, should be in the files directory. The php file scan the files directory, as you can in the php file or read in the instructions

You can also send me a message.

@stetim94 If he’s a new user, he won’t be able to DM you. You’ll need to initiate it yourself.
@fetsnomlas You can up your level so you can do more stuff by:

  • entering at least 3 topics
  • reading at least 15 posts
  • spend a total of 6 minutes reading posts

See here for more info.

i already initialized message with him, can’t he reply forever on that?

I don’t know, but you and @fetsnomlas will get to find out soon I guess :slight_smile:

I’ve created 3 folders in the files directory. When I run the index.html file the black screen comes up but doesn’t display the folders.

Sorry to take your time up on this. You seemed to get it to work really easy!

I don’t suppose you can post screenshots?

Does php work? create a simple file like test.php, and add to this file something simple like:

<?php echo "hello world" ?>

then go to: http://localhost:8080/test.php

it should output hello world, what exactly would you want me to make a screenshot off?

I created a test.php file but when I run it it says this!

Object not found!

The requested URL was not found on this server.


If you entered the URL manually please check your
spelling and try again.

If you think this is a server error, please contact
the webmaster.

Error 404

localhost

Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.6.14

2 posts were split to a new topic: Html5