codeIgniter 3.0中的curl类
问题描述:
我是Codeigniter的初学者。我使用CI 3.0(最新版本)。我想在我的代码中使用recaptch。当我在google搜索codeigniter中的curl类时,我发现这段代码
I'm a beginner in Codeigniter.I use CI 3.0 (last version).I wanna use recaptch in my code.When I search in google for curl class in codeigniter I find this code
$this->load->library('curl');
但是当我在我的代码中使用它时
无法加载请求的类:Curl
和现实没有这个类。有人可以帮我请求吗?谢谢。
but when I use this in my code
Unable to load the requested class: Curl
and reality there isn't this class. Can anybody help me pleas? Thanks.
答
this-> load-> library('curl');
this->load->library('curl');
但是当我在我的代码中使用它时
无法加载请求的类:Curl
和现实中没有这堂课。有人可以帮我请求吗?谢谢。
but when I use this in my code
Unable to load the requested class: Curl
and reality there isn't this class. Can anybody help me pleas? Thanks.
首先需要在系统上安装库;请参阅 http://curl.haxx.se/ [ ^ ]。
You first need to install the library on your system; see http://curl.haxx.se/[^].
GitHub - philsturgeon / codeigniter-curl:这不再是维护,使用http://docs.guzzlephp.org INSTEAD [ ^ ]
添加此库。在CI
GitHub - philsturgeon/codeigniter-curl: THIS IS NO LONGER MAINTAINED, USE http://docs.guzzlephp.org INSTEAD[^]
add this lib. in CI