Use PHP to create a search function, which can be understood as a simple global keyword search [without any word delineation and intelligent recognition in it]
For example, if I want to search for the keyword "segmentfault",
I want to add "Show both Baidu search resultsand googlesearch results"## under the search box. #Now Baidu search results have been implemented, it is not difficult.
The key is Google, the problem of circumventing the firewall.
Rent a foreign VPS. When I search for "segmentfault", I will cross-domain request the foreign VPS through the domestic VPS to search for this keyword on Google, and then return the corresponding Google results to the domestic VPS. VPS.
I know that there are many methods in China that use Google mirroring. I think this method is not very reliable. It is often blocked and requires frequent node changes.
Thank you everyone, I don’t know if I made it clear.
Just add the proxy of the foreign server to your domestic server. Use the proxy when accessing Google. (The proxy can be ShadowSocks)