I want to make it so I can run the command
dir $string /b > c:/tmpstorage
in php...
anyone know how
Ben
http://be.php.net/manual/en/function.opendir.php
ajust it so when $file == $string you put it in a variable, and then write the var to a file using fopen and fwrite
why wouldn't I use the system() commdand?
Because that would mean starting a seperate program, which is mcuh slower than letting PHP do it itself.