Jump to content

want to search through files/folders


curtis_b

Recommended Posts

Hello, I setup a fileserver for my company's intranet. I want to add a search engine that can find files / folders containing the users input. So let's say the user put in "company", the potential results could be:

company logo.gif
/45015/Jones_company/
/whatever/blahblahcompany.ini


I want the engine to be able to scan all files/folders in my /var/www/html/ folder.

I will settle for filenames only if that's the best I can do.

I played around with glob(), which seemed to only work for a specified folder, I'm just not sure how I can use it to scan all folders.

Any advice is greatly appreciated.

Curt
Link to comment
https://forums.phpfreaks.com/topic/27276-want-to-search-through-filesfolders/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.