> why can�t I run exec("dir"); ?
What you want is:
exec( "dir", $dirContents );
foreach( $dirEntry as $dirContents ) {
echo $dirEntry;
}
I believe that'll work and do what you want...
Chris
> why can�t I run exec("dir"); ?
What you want is:
exec( "dir", $dirContents );
foreach( $dirEntry as $dirContents ) {
echo $dirEntry;
}
I believe that'll work and do what you want...
Chris