a bunch of stuff run together
Hi folks I found a small directory lister script.
It lists files and folders all runinning to each other except for one single break.Code:<?php $row = exec('dir',$output,$error); while(list(,$row) = each($output)){ echo $row, "<BR>\n"; } if($error){ echo "Error : $error<BR>\n"; exit; } ?>
Can this be modified to have one file/folder to each line in a list form?
I tried to add another <br> in it but I got errors each way I tried it.
Thanks,
Bud



Reply With Quote
Bookmarks