摘要:
$url = 'http://www.cnblogs.com/api/say';$data = array('username' => 'test', 'words' => 'hello world');$data = http_build_query($data); $ch = curl_init();curl_setopt($ch, CURLOPT_URL, $url);curl_setopt($ch, CURLOPT_POST, 1);curl_setopt($ch, CURLOPT_RETURN 阅读全文