The word.txt below the first question contains a lot of entries. For the second question, I feel like I need to use curl. Please help me
秋香姐家的小书童2018-09-25 11:54:24
1. They are all four words. There is a space after each word. The last word is the same. You can use PHP to read these and then make separators based on the last word to divide each line of text into a two-dimensional array. The words are separated by spaces. Become How to compare these words in three-dimensional arrays depends on how you think
2. The second question is correct. Use CURL to obtain the results in the search engine. Use regular expressions to extract the content. You can write it yourself. I can only provide ideas here