2012年11月9日
摘要: 今天需要用curl模拟post提交参数,请求同事提供的一个接口;但是传递的参数中,有一个参数的值为数组,用普通的curl post代码提交,会报错误PHP Notice: Array to string conversion in /test/functions.php on line 30Notice: Array to string conversion in /test/functions.php on line 30代码如下:<?php $param = array( 'uid' => 123,... 阅读全文
posted @ 2012-11-09 21:04 mingaixin 阅读(23861) 评论(0) 推荐(0) 编辑