curlPost. 'wyjie', 'img' => '@D:/debug.exe' ); //cURL发送post请求 $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'http://localhost/demo/demo/curl/01.登录后复制01. 登录后复制输出结果Array ( [name] => wyjie [img] => @./debug.exe ) Array ( )