curl_setopt($ch, CURLOPT_URL,$list_url);
curl_setopt($ch, CURLOPT_REFERER,$list_urled);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_HEADER, 0); //是否顯示頭文件
curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data); //上傳屬性
curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie_file); //cookie存放的文件夾
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); //是否流
curl_setopt($ch, CURLOPT_PROXY, '120.9.127.1:6675'); //使用代理
curl_setopt($ch, CURLOPT_VERBOSE,1); //出錯提示
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)"); //模擬瀏覽器
curl_setopt($ch, CURLOPT_NOBODY,true); //指定了curl抓的內容中包含header頭,並且不要body內容
curl_exec($ch);
裏面的$post_data就是妳要post的上傳的數據內容