12-20-2007, 04:11 AM
|
#9 (permalink)
|
|
Wizard
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
|
Something like this
PHP Code:
<?php
$dir = dir( $d ); while( false !== ( $entry = $dir->read() ) ) { if($entry!='.' && $entry!='..' && $entry!='index.php' && $entry!='error_log') {
$arr[] = $entry;
} }
sort($arr); //making your own bubble sort method will be faster, but I cant find mine foreach($arr as $val) { echo $val; }
?>
|
|
|
|