HTTP Class for PHP (supports both cURL and fsockopen) | Md Emran Hasan aka phpfour This is a wrapper HTTP class that uses either cURL or fsockopen to harvest resources from the web. PHP用、外部接続にcURLかfsockopenが選べるHTTPクラス。 次のようにPEARレスでシンプルに使えます。 <?php include_once('class.http.php'); $http = new Http(); $http->useCurl(false); $http->setMethod('POST'); $http->addParam('user_name', 'emran'); $http->addPa