Reputation:
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');
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.
Upvotes: 3
Views: 17288
Reputation: 4335
The curl
library is not contained in the default library - you will need to install the curl extension for code-igniter.
But: please consider that this library is marked as deprecated. You should try using another library like guzzle etc.
Upvotes: 7