mgbigboy Posted July 7, 2008 Share Posted July 7, 2008 All i want to know is that if there is a way to search multiple txt files with the script that wildteen88 did on the previous topic named txt file search program needed, istead of only searching one file at a time and also if information can be displayed as in the original. i mean for it to show tabs to space data. The script is owsome but if it could search multiple txt files it would be even better. http://www.phpfreaks.com/forums/index.php/topic,186319.0.html Link to comment https://forums.phpfreaks.com/topic/113573-question-to-txt-file-search-program-needed/ Share on other sites More sharing options...
lemmin Posted July 7, 2008 Share Posted July 7, 2008 Run the search function on every file in a directory? $files = glob($dir."/*"); foreach($files as $file) { if (is_file($file)) searchTextFile($file); } Link to comment https://forums.phpfreaks.com/topic/113573-question-to-txt-file-search-program-needed/#findComment-583660 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.