Yes, and while I dig up on glob(), to be quite honest, the exec is working
very effectively and fast for my searches & download application - so can't
complain about it one bit.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rahul Sitaram Johari
CEO, Twenty Four Seventy Nine Inc.

W: http://www.rahulsjohari.com
E: [EMAIL PROTECTED]

³I morti non sono piu soli ... The dead are no longer lonely²



On 3/30/07 9:27 AM, "Tijnema !" <[EMAIL PROTECTED]> wrote:

> On 3/30/07, Jochem Maas <[EMAIL PROTECTED]> wrote:
>> Rahul Sitaram Johari wrote:
>>> Ave,
>>> 
>>> This is actually a continuation of my previous ³Show files using Wildcards²
>>> thread, but a different problem.
>>> 
>>> Code:
>>> 
>>>     <?php
>>>     exec("find /Users/rjohari/Documents/XFER/espi -type f -name
>>> ".$row['PHONE']."*.vox", $files);
>>>     foreach ($files as $value) {
>>>     echo "<font face=arial size=1><a
>>> href='/Users/rjohari/Documents/XFER/osm/ESPI/".basename($value)."'>".basenam
>>> e($value)."</a></font><BR>";
>>>     }
>>>     ?>
>> 
>> why are you using exec() to run 'find'??? what is wrong with glob()?
> 
> He asked a way to do what he wanted in the thread "Show files using
> Wildcards", There somebody came up with the idea using find.
> 
> Tijnema
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to