Arrays 使用shell curl以复选框数组进行post
http代码如下所示:Arrays 使用shell curl以复选框数组进行post,arrays,shell,curl,checkbox,Arrays,Shell,Curl,Checkbox,http代码如下所示: <input type="checkbox" value="1" name="checkbox[]"> <input type="checkbox" value="2" name="checkbox[]"> <input type="checkbox" value="3" name="checkbox[]"> <input type="checkbox" value="4" name="checkbox[]"> <in
<input type="checkbox" value="1" name="checkbox[]">
<input type="checkbox" value="2" name="checkbox[]">
<input type="checkbox" value="3" name="checkbox[]">
<input type="checkbox" value="4" name="checkbox[]">
<input type="checkbox" value="5" name="checkbox[]">
<input type="checkbox" value="6" name="checkbox[]">
它将被多个值检查
我明白了,像这样的复选框是针对php的,必须序列化,我想在unix shell上使用curl来实现这一点,我能做什么?您想从shell或php使用curl吗?使用
curl-X post--data”?复选框[]=2和复选框[]=4“
不起作用?