CodeIgniter Forums
file browser in php - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: file browser in php (/thread-13498.html)



file browser in php - El Forum - 11-24-2008

[eluser]magz[/eluser]
Hi Guys,

Need some help, is it possible to make a file browser for linux in php?.
Im making upload file function but in its normal file manager it only
accept one selection file. So thats why im planning to make a file browser in php just to have a multi selection file.. Actually, almost half a day im searching for multi select file, but i ended to the flash stuffs, which i didnt prepared to use. it would be nice if it can be done with php/javascript.

please help me.. Sad

tnx


file browser in php - El Forum - 11-24-2008

[eluser]Teks[/eluser]
HotScripts seems to have 170 scripts listed under "File Management" for PHP:

http://www.hotscripts.com/PHP/Scripts_and_Programs/File_Manipulation/File_Management/index.html

Let us know if you find one that is truly useful and open source! :-)


file browser in php - El Forum - 11-24-2008

[eluser]magz[/eluser]
@Teks,

tnx for the url. yeah a lot of file management php scripts there.But i think the scripts are
advance for me. Big Grin, Will just do it like this. How to display the ff directories(example):

/var
/etc
/home


file browser in php - El Forum - 11-25-2008

[eluser]mihailt[/eluser]
Code:
<?php
    var_dump(scandir('path/to/root/dir'));
?>

http://www.php.net/manual/en/function.scandir.php