Location: PHPKode > scripts > HTTP CURL > http-curl/example.php
<?php

include_once("class.curl.php");

$http = new http();
$http->setURL("http://2funhost.com");
$http->saveCookie("eshan.txt");
$http->setUA("Nokia");
$http->setProxy("78.46.255.91",'53');
$http->post(array("hello"=>'eshan'));
echo $http->exec();

//echo $http->errno();
//echo $http->error();

?>
Return current item: HTTP CURL