Re: [PHP] Link to download files on another part of system

2007-03-30 Thread Jochem Maas
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) {

Re: [PHP] Link to download files on another part of system

2007-03-30 Thread Tijnema !
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

Re: [PHP] Link to download files on another part of system

2007-03-30 Thread Rahul Sitaram Johari
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:

[PHP] Link to download files on another part of system

2007-03-29 Thread Rahul Sitaram Johari
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=1a

Re: [PHP] Link to download files on another part of system

2007-03-29 Thread Rahul Sitaram Johari
Correction, please disregard previous post: 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

Re: [PHP] Link to download files on another part of system

2007-03-29 Thread Tijnema !
On 3/29/07, Rahul Sitaram Johari [EMAIL PROTECTED] 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

Re: [PHP] Link to download files on another part of system

2007-03-29 Thread Zoltán Németh
2007. 03. 29, csütörtök keltezéssel 22.46-kor Tijnema ! ezt írta: On 3/29/07, Rahul Sitaram Johari [EMAIL PROTECTED] wrote: Ave, This is actually a continuation of my previous ³Show files using Wildcards² thread, but a different problem. Code: ?php exec(find

Re: [PHP] Link to download files on another part of system

2007-03-29 Thread Rahul Sitaram Johari
Ave, I¹m going to try creating the sharepoint within my webserver, as suggested by you and tijnema. I think that¹s probably the easiest and quickest solution to this. I¹ll report back! Thanks! On 3/29/07 4:48 PM, Daniel Brown [EMAIL PROTECTED] wrote: Rahul, Your best bet in this

Re: [PHP] Link to download files on another part of system

2007-03-29 Thread Roberto Mansfield
Only do this if all the files should be publicly accessible. Otherwise, you'll need to create a php wrapper to do authorization before sending the file. -Roberto Rahul Sitaram Johari wrote: Ave, I¹m going to try creating the sharepoint within my webserver, as suggested by you and tijnema.

Re: [PHP] Link to download files on another part of system - SOLVED!

2007-03-29 Thread Rahul Sitaram Johari
Ave, I think I did it! I created a sharepoint within my web server (inside my website) and mounted the share on that sharepoint. Once I did that, I specified correct paths and my downloads are now working. I created a ³jump menu² select list and this is what I¹ve come up with: SCRIPT

Re: [PHP] Link to download files on another part of system

2007-03-29 Thread Rahul Sitaram Johari
Ave, You've actually raised pretty valid security issues. The files in that particular mounted share can be publicly accessible so I'm not worried about that. But I'll certainly validate phone number before executing the find command. Thanks! ~~~ Rahul