The php script accesses Baidu to query data and obtains the data in its own database. how can this problem be solved?
Source: Internet
Author: User
Php scripts access Baidu to query data to get their own database, ask experts to give pointers to specific methods php scripts access Baidu to query data to get their own database, ask experts to give specific instructions, access the corresponding functions and methods of baidu.com using a php script in the background, and obtain the corresponding functions and methods downloaded from the results ...... ask for expert advice, C php scripts access Baidu to query data to get their own database, and ask for expert advice on specific methods
The php script accesses Baidu to query data and obtains the data in its own database. Ask the experts for instructions on specific methods. the backend uses the php script to access the corresponding functions and methods of baidu.com, and the corresponding functions and methods downloaded from the obtained results ...... expert advice
------ Solution --------------------
CURL
------ Solution --------------------
Discussion
The php script accesses Baidu to query data and obtains the data in its own database. Ask the experts for instructions on specific methods. the backend uses the php script to access the corresponding functions and methods of baidu.com, and the corresponding functions and methods downloaded from the obtained results ...... expert advice
Use a crawler to capture the address locally and use php to retrieve the address content. the regular expression matches the data you need and writes it to the database.
You need to write the specific code.
------ Solution --------------------
Discussion
Reference:
The php script accesses Baidu to query data and obtains the data in its own database. Ask the experts for instructions on specific methods. the backend uses the php script to access the corresponding functions and methods of baidu.com, and the corresponding functions and methods downloaded from the obtained results ...... expert advice
When I work in baidu, I have to capture baidu's search results and store them in curl. you can do the same.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.