php1 Posted September 25, 2008 Share Posted September 25, 2008 Dear all , i want to display only directories using browse button. is it possible throuh php Link to comment https://forums.phpfreaks.com/topic/125749-is-it-possible-to-browse-directories-with-a-browse-button-using-php/ Share on other sites More sharing options...
Zane Posted September 25, 2008 Share Posted September 25, 2008 you can run this command with the exec function....if you're running Linux ls -d */ exec("ls -d */"); This would be the command for windows exec("dir /ad"); Link to comment https://forums.phpfreaks.com/topic/125749-is-it-possible-to-browse-directories-with-a-browse-button-using-php/#findComment-650275 Share on other sites More sharing options...
php1 Posted September 26, 2008 Author Share Posted September 26, 2008 I want to browse directories like browsing files using <input type="file">. is there some way to browse directories like this? Link to comment https://forums.phpfreaks.com/topic/125749-is-it-possible-to-browse-directories-with-a-browse-button-using-php/#findComment-651144 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.