troubleshooting Question

Search within protected directory

Avatar of alexgreen
alexgreen asked on
PHP
18 Comments2 Solutions329 ViewsLast Modified:
I have a protected area for members to log in (.htaccess) on a linux server with 1&1

I have a php script that shows the list of files in a certain directory and gives them a link to download dynamically displayed each time you open / refresh the page.
Unfortunately, there are lots of files and I think that as well as that I would like a search option

I want a simple search solution that will enable users to search for a particular document title to see if it is there and then download it with one click.

I figure PHP can do it as it could do the dynamic list. I like the way the google search box works but obviously it won't read behind the password protection.

I do not want to use mySQL because I have no desire to add a database to the back end and make my life difficult by having to learn another language.

Can anyone help out. I have scoured the web and I'm sure it is out there if I can find the right search terms myself but I keep hitting blanks.

thanks in advance
ASKER CERTIFIED SOLUTION
GMGenius
Software Development Manager/Developer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 18 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 18 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros