Re: [PHP] ls as function.

2003-11-13 Thread Vincent M.
John Nichel wrote: Chris Shiflett wrote: --- Marek Kilimajer [EMAIL PROTECTED] 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

Re: [PHP] ls as function.

2003-11-13 Thread John Nichel
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

[PHP] ls as function.

2003-11-12 Thread Vincent M.
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

Re: [PHP] ls as function.

2003-11-12 Thread John Nichel
Vincent M. wrote: 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

Re: [PHP] ls as function.

2003-11-12 Thread Marek Kilimajer
Vincent M. wrote: 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

Re: [PHP] ls as function.

2003-11-12 Thread Chris Shiflett
--- Marek Kilimajer [EMAIL PROTECTED] 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:

Re: [PHP] ls as function.

2003-11-12 Thread John Nichel
Chris Shiflett wrote: --- Marek Kilimajer [EMAIL PROTECTED] 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:

Re: [PHP] ls as function.

2003-11-12 Thread Marek Kilimajer
John Nichel wrote: Chris Shiflett wrote: --- Marek Kilimajer [EMAIL PROTECTED] 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

Re: [PHP] ls as function.

2003-11-12 Thread John Nichel
Marek Kilimajer wrote: snip So who is wrong and who is right now? I'm confused ;) Hell, I don't even remember the question anymore. :) -- 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: