CodeIgniter Forums
a simple file browser with CI - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: a simple file browser with CI (/showthread.php?tid=3473)



a simple file browser with CI - El Forum - 10-04-2007

[eluser]Grahack[/eluser]
You can find the controller and the view on this wiki page.

Feel free to try it, improve it, or even use it.


a simple file browser with CI - El Forum - 10-04-2007

[eluser]llbbl[/eluser]
http://www.webfilebrowser.com/WebFileBrowser/PHPFrames.html

Is this what it does?


a simple file browser with CI - El Forum - 10-04-2007

[eluser]Grahack[/eluser]
No sorry, it's really really simple. It does this kind of thing, but for the moment without the stats of the file.


a simple file browser with CI - El Forum - 10-04-2007

[eluser]llbbl[/eluser]
thats like built into apache except you don't get icons, right?


a simple file browser with CI - El Forum - 10-04-2007

[eluser]Grahack[/eluser]
Yes, it's just a beginning, but feel free to improve it!!!


a simple file browser with CI - El Forum - 10-04-2007

[eluser]llbbl[/eluser]
we should use some cool icons from famfam or something.


a simple file browser with CI - El Forum - 10-04-2007

[eluser]Grahack[/eluser]
Why not, but this should be done via css only. I suggest the use of css markup in the view, and creating one or two examples of simple/basic or tricky/pretty style sheets.

I added some docs and a todo list in the wiki page.


a simple file browser with CI - El Forum - 12-16-2007

[eluser]Majd Taby[/eluser]
Hey, I plan on extending this and adding the following feature:

Allowing the server's admin to generated timed keys which would grant timed-access to w/e they are supposed to grant access to. So let's say I have a personal server, and i want to share a song w/ someone on irc, i can give them a url and a key, and won't have to expose my whole music library.


a simple file browser with CI - El Forum - 12-16-2007

[eluser]Grahack[/eluser]
That's great. We should think of a way to make modular addons to this browser. Like the actions to do when someone clicks on a file or directory, as you're proposing.