php 中的curl
摘要:
① curl上传文件 1 '123', 5 'upload'=>'@E:/wamp/www/function/result.zip' 6 ); 7 $ch= curl_init(); 8 curl_setopt($ch, CURLOPT_URL, 'http://localhost/function/upload.php'); 9 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);10 curl_setopt($ch, CURLOPT_HEADER, 0);11 curl_setopt( 阅读全文
posted @ 2013-10-30 16:13 bai_jimmy 阅读(187) 评论(0) 推荐(0) 编辑