For a piece of PHP code to get the number of Google records, I have been searching for it online for several days and used $ curlcurl_init (); this method can be obtained but can not be saved now. if I change the obtained result to another one, it can be saved. so I don't think it is a problem with the fields in the database. this method has a problem, so I want to beg for a method other than getting it using this method... ------ solution ----------- search for a piece of PHP code to get the number of Google records
I have searched the Internet for several days and used $ curl = curl_init (); this method can be obtained but can not be saved now. if I change the obtained result to another one, it can be saved. so I don't think it is a problem with the fields in the database. this method has a problem, so I want to beg for a method other than getting it using this method...
------ Solution --------------------
It is not a problem to get the code, but a problem you store in the database. changing the code does not solve your fundamental problem.
------ Solution --------------------
I agree with the upstairs statement. if I can read it, it is just a matter of storage.
------ Solution --------------------
Discussion
This is because I want to refresh the web page on the server, but now I want to do this kind of thing and use asynchronous processing, that is, when accessing this page, let him execute other tasks in the background. A refresh method of the class. I use this method now. the refresh method under the refresh class can be directly accessed in the URL and saved, but I am executing the refresh method when asking others to access the index. refresh method I obtained a Baidu record, a Google Baidu record, and directly crawled html to find the number Google refresh ......
------ Solution --------------------
Remember: addslashes ($ html)