wecenter-turn on Curl extension, let the server support PHP Curl function (remote capture), wecentercurl_php tutorial

Source: Internet
Author: User

wecenter-turn on the curl extension and let the server support the PHP Curl function (remote capture), Wecentercurl


Curl (), file_get_contents (), snoopy.class.php these three remote page fetch or capture tools,

The snoopy.class.php is still invaded by the use of the same, because he is more efficient and does not require server-specific configuration support, in the ordinary virtual host can be used;

File_get_contents () is less efficient, often fails, curl () is highly efficient, supports multi-threading, but needs to turn on the curl extension.

Here are the steps the Curl extension opens:

1, the PHP folder under the three files Php_curl.dll,libeay32.dll,ssleay32.dll copied to System32;

2, the php.ini (c:windows directory) in the; Extension=php_curl.dll in the semicolon removed;

3. Restart Apache or IIS.

http://www.bkjia.com/PHPjc/1048760.html www.bkjia.com true http://www.bkjia.com/PHPjc/1048760.html techarticle wecenter-turn on the curl extension and let the server support the PHP Curl function (remote capture), Wecentercurl curl (), file_get_contents (), snoopy.class.php These three remote page crawl or capture used to ...

  • Related Article

    Contact Us

    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.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.