Jump to content

File List


bd1e0d0

Recommended Posts

if($handle=opendir('.')) {   while(false!==($file=readdir($handle))) {      if($file!=".") {         echo("$file<br />");      }   }   closedir($handle);}

I think I'm using a generic file lister, ergo I think I'm screwed. Is there anyway through this script that I can make all the directories (folders) list first? If not, can anyone tell me a script that can?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...