随笔 - 203  文章 - 11  评论 - 15  阅读 - 81万
11 2012 档案
php中curl模拟post提交多维数组
摘要:今天需要用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 阅读(23911) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示