curtis_b Posted November 14, 2006 Share Posted November 14, 2006 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 More sharing options...
fert Posted November 14, 2006 Share Posted November 14, 2006 I did something similar and a made a mysql table with all the urls in it and then i had the code scan trough the urls open the file and search for the text. Link to comment https://forums.phpfreaks.com/topic/27276-want-to-search-through-filesfolders/#findComment-124760 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.