About the method template to turn on curl the world small part here to give you a brief talk
Curl (), file_get_contents (), snoopy.class.php these three remote pages to fetch or capture the tools used, the default is still invaded by snoopy.class.php, 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.
Turn on the curl extension and let the server support the PHP Curl function (remote capture)