I have some txt files, and show only one file using the function file_get_contents ().
if I want to find an object within each file, then I have to open the file one by one and search it using ctrl + f.
I think it's not an effective way to search for an object from all the existing files.
Can anyone suggest me how to create a "search feature" to search for an object on some of the txt files?
i use php script.
make a scandir to list files, then use file_get_contents to find the content and search into with