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()? > > The files I¹m linking to, in order to let the User download them, reside on > a mounted share on my system. They are on in the Apache Web Server htdocs > folder where my website resides. How do I make these files available to > download if they are not in my webserver folder? via a php script that outputs the relevant headers and uses readfile() on the relevant file. > > Thanks! > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 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² > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php