How to list files in a directory with PHP
In Playground, by cody
Here’s a simple way to execute the windows dir or the linux ls in PHP Windows: <?php $row = exec(‘dir’,$output,$error); while(list(,$row) = each($output)){ echo $row, “<BR>n”; } if($error){ echo “Error […]