ls as function.

From: Date: Wed, 12 Nov 2003 23:34:29 +0000
Subject: ls as function.
Groups: php.general 
Request: Send a blank email to php-general+get-169400@lists.php.net to get a copy of this message
Hello, Is there any function to do: $thumb = exec("ls $dir/name*") ; without using the exec function and without making a while: $direc_src_obj = dir($dir) ; while($entry=$direc_src_obj->read()) { ... } So, i am looking for a function which return the result of the unix shell command: ls mydir/name* Thanks, Vincent.

« previous php.general (#169400) next »