CURL Session class
Instance of this class represents a basic CURL session.
Example:
1 $curl =& new CURL_Session();
2 $curl->set_url('http://www.antiwar.co.uk/');
3 $curl->exec();
See test_CURL_Session.php for more examples
Located in Program_Root/CURL_Session.php (line 38)
Constructor.
Example:
1 $curl =& new CURL_Session();
Set connection time out (CURLOPT_CONNECTTIMEOUT)
Set custom request (CURLOPT_CUSTOMREQUEST)
Set follow location (CURLOPT_FOLLOWLOCATION)
Set header function (CURLOPT_HEADERFUNCTION)
Set HTTP header(s) (CURLOPT_HTTPHEADER)
Set HTTP version (CURLOPT_HTTP_VERSION)
pass null to let cURL determine best one
Set max connects (CURLOPT_MAXCONNECTS)
Set post fields (CURLOPT_POSTFIELDS)
Return transfer (CURLOPT_RETURNTRANSFER)
Set SSL Verify host (CURLOPT_SSL_VERIFYHOST)
Set SSL Verify peer (CURLOPT_SSL_VERIFYPEER)
Set read write timeout (CURLOPT_TIMEOUT)
Set write function (CURLOPT_WRITEFUNCTION)
Documention generated on Wed, 16 Jul 2003 01:03:06 +0100 by phpDocumentor 1.2.0