Curl (), file_get_contents (), snoopy.class.php these three remote pages crawl or collect the tools used, the snoopy.class.php is still invaded to use, because he is more efficient and does not require server-specific configuration support, in the ordinary virtual host can be used, file_get_ Contents () Less efficient, common failure, curl () high efficiency, support multithreading, but need to open the curl extension. The following are the steps to open the Curl extension:
1, the PHP folder under the three files Php_curl.dll,libeay32.dll,ssleay32.dll copy to the System32;
2, in the php.ini (c:windows directory) in the Extension=php_curl.dll in the semicolon removed;
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.