Skip to content
CodeIgniter-cURL is a CodeIgniter library which makes it easy to do simple cURL requests and makes more complicated cURL requests easier too. http://philsturgeon.co.uk/code/codeigniter-curl
Find file
Pull request Compare This branch is 24 commits behind philsturgeon:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
config
libraries
README.markdown

README.markdown

CodeIgniter-cURL

CodeIgniter-cURL is a CodeIgniter library which makes it easy to do simple cURL requests and makes more complicated cURL requests easier too.

Requirements

  1. PHP 5.1+
  2. CodeIgniter 1.7.x - 2.0-dev
  3. PHP 5 (configured with cURL enabled)
  4. libcurl

Usage

echo $this->curl->simple_get('http://example.com/');
echo $this->curl->simple_post('curl_test/message', array('message'=>'Sup buddy'));

For more up to date usage and in-depth examples check the CodeIgniter wiki page:

http://codeigniter.com/wiki/Curl_library/

Something went wrong with that request. Please try again.