Re: Link to download files on another part of system
| From: | Tijnema ! | Date: | Fri, 30 Mar 2007 13:27:55 +0000 |
| Subject: | Re: Link to download files on another part of system | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-251730@lists.php.net to get a copy of this message | ||
On 3/30/07, Jochem Maas <jochem@iamjochem.com> wrote:
Rahul Sitaram Johari wrote: Ave, This is actually a continuation of my previous ³Show files using Wildcards² thread, but a different problem. Code: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 exec("find /Users/rjohari/Documents/XFER/espi -type f -name".$row['PHONE']."*.vox", $files);foreach ($files as $value) { echo "<font face=arial size=1><ahref='/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()?