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.rahulsjo
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:
>
> exec("find /Users/rjohari/Documents/XFER/espi -type f -name
> ".$row['PHO
Rahul Sitaram Johari wrote:
> Ave,
>
> This is actually a continuation of my previous ³Show files using Wildcards²
> thread, but a different problem.
>
> Code:
>
> exec("find /Users/rjohari/Documents/XFER/espi -type f -name
> ".$row['PHONE']."*.vox", $files);
> foreach ($files as $v
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 Sitaram
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:
function o
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 tijnem
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
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:
> >
> > >exec("find
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:
".basenam
e($value)."";
}
?>
The files I¹m linking to, in order to let the User download them, reside on
Correction, please disregard previous post:
Ave,
This is actually a continuation of my previous ³Show files using Wildcards²
thread, but a different problem.
Code:
".basenam
e($value)."";
}
?>
The files I¹m linking to, in order to let the User download them, reside on
a mounted sh
Ave,
This is actually a continuation of my previous ³Show files using Wildcards²
thread, but a different problem.
Code:
".basenam
e($value)."";
}
?>
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 We
11 matches
Mail list logo