摘要: $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 阅读全文
posted @ 2013-03-06 10:03 狐狸v 阅读(208) 评论(0) 推荐(0) 编辑