Re: Link to download files on another part of system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/30/07, Jochem Maas <jochem@xxxxxxxxxxxxx> 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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux