Re: ls as function.

From: Date: Thu, 13 Nov 2003 19:54:09 +0000
Subject: Re: ls as function.
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-169549@lists.php.net to get a copy of this message
Vincent M. wrote:
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

« previous php.general (#169549) next »