Home >Backend Development >PHP Tutorial >In php: Solution to Call to undefined function curl_init()

In php: Solution to Call to undefined function curl_init()

WBOY
WBOYOriginal
2016-07-25 09:03:46989browse
  1. $ch = curl_init();

  2. curl_setopt ($ch, CURLOPT_URL, "http://www.zend.com/");

  3. curl_setopt ($ch, CURLOPT_HEADER, 0);

  4. curl_exec ($ch);

  5. curl_close ($ch);

  6. ?>
复制代码

参见:curl_close(), curl_setopt()



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn