Can anyone give me some ideas on these two questions? Urgent.
水色
水色 2018-09-23 15:19:25
0
2
926

13.png15.png14.pngThe 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

水色
水色

reply all(1)
秋香姐家的小书童

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


  • reply Hello, can you tell me how to write the regular expression for the second question? . I kept making mistakes while writing for a long time
    水色 author 2018-09-25 12:25:30
  • reply I found a category online. Okay.
    水色 author 2018-09-25 12:48:40
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!