Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Curl class in codeIgniter 3.0

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.


1 Answers

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.

like image 83
dhh Avatar answered Nov 29 '25 16:11

dhh



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!