Curl library for CodeIgniter
This entry was posted on Sunday, April 13, 2008 at 7:50 am and is filed under CodeIgniter, Curl Library. Both comments and pings are currently closed.Related posts
« New blog’s design and Blueprint CSS framework
How to check Google PageRank in PHP »
4 Responses to “Curl library for CodeIgniter”
Oliver
Posted on February 17th, 2009 at 12:19 pm
Posted on February 17th, 2009 at 12:19 pm
thank’s for this excelent library for codeigniter, Alex.
Why not $fields as array on post method?.
Oliver
Posted on February 17th, 2009 at 1:19 pm
Posted on February 17th, 2009 at 1:19 pm
solved, in method http_post add:
$fields = is_array($fields) ? http_build_query($fields, ”, ‘&’) : $fields;
After this line:
$this->_set_opt(CURLOPT_POSTFIELDS, $fields);
Oliver
Posted on February 17th, 2009 at 1:37 pm
Posted on February 17th, 2009 at 1:37 pm
Sorry the new line is before like :
$fields = is_array($fields) ? http_build_query($fields, ”, ‘&’) : $fields;
$this->_set_opt(CURLOPT_POSTFIELDS, $fields);























Posted on April 14th, 2008 at 1:11 pm
Wow. Great work, Alex! Thx