That's what I wanted, (he wanted to execute ls without using php's exec function).
So Glob is the function I was looking for, unfortunatly it has been available only since the 4.3.0 !
Anyway, if there is a wish, there is a way ;)
Thanks.
If the filesystems aren't what you're looking for, and you don't want to use exec(), just enclose your command in backtics....
$data = `ls -al /path/to/files`;
-- By-Tor.com It's all about the Rush http://www.by-tor.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php