curl的一个小bug,failed creating formpost data

用curl post数据的时候发生了一个错误,failed creating formpost data,

搜索到一个说法:https://bugs.php.net/bug.php?id=50060,

原来是array中的value存在以‘@’开头的,需要转换成‘\@’

于是测试了一下,果然如此啊。

但是上面链接说的是5.2,上传到服务器(php5.3),结果此问题依然存在,

mark一下



你可能感兴趣的:(curl,failed,Data,creating,formpost)