Re: ls as function.

From: Date: Thu, 13 Nov 2003 16:43:48 +0000
Subject: Re: ls as function.
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-169520@lists.php.net to get a copy of this message
John Nichel wrote:
Chris Shiflett wrote:
--- Marek Kilimajer <kilimajer@webglobe.sk> wrote:
So, i am looking for a function which return the result of the unix shell command: ls mydir/name*
www.php.net/glob
I think you read that question wrong, or else I am. :-) Try the second user note on this page: http://www.php.net/manual/en/ref.filesystem.php Hope that helps. Chris
I think you read it right, and I (along with the other poster) read it wrong. I first thought he wanted to execute ls without using php's exec function...but rereading it, I don't think he was looking for my response.
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.

« previous php.general (#169520) next »