POSTãã¼ã¿ã¯ãaddPostDataé¢æ°ã§nameã¨value(å¤)ãæå®ãã¾ãã <?php require_once "HTTP/Request.php"; $objHttp = new HTTP_Request("https://www.bnote.net/"); $objHttp->setMethod(HTTP_REQUEST_METHOD_POST); $objHttp->addPostData("user", "bnote"); if (!PEAR::isError($objHttp->sendRequest())) { $body = $objHttp->getResponseBody(); } ?> Pearã®ããã¥ã¢ã«ã«ãããã¾ãããaddPostDataé¢æ°ã¯ã¡ã³ãå¤æ°ã«é£æ³é åã¨ãã¦POSTãã¼ã¿ã ä¿åãã¾ããç¶ãã¦ãªã¯ã¨ã¹ãããå ´åãPOSTãã¼ã¿ãæ®ã£ã¦ãã
{{#tags}}- {{label}}
{{/tags}}