Php CURL-取消选中复选框输入

Php CURL-取消选中复选框输入,php,Php,我试图在表单上提出卷曲请求,但我有一个问题 下面是一个复选框输入代码: <input type="checkbox" name="encodeURL" id="encodeURL"><label for="encodeURL" class="tooltip" onmouseover="tooltip('Encrypts the URL of the page you are viewing so that it does not contain the target site

我试图在表单上提出卷曲请求,但我有一个问题

下面是一个复选框输入代码:

<input type="checkbox" name="encodeURL" id="encodeURL"><label for="encodeURL" class="tooltip" onmouseover="tooltip('Encrypts the URL of the page you are viewing so that it does not contain the target site in plaintext.')" onmouseout="exit();">
但它不起作用


哪里有问题?

浏览器不会发送未选中的复选框,即不会发送它们的字段名(也不会发送值,因为字段名丢失),因为它们不会发送。未选中的单选按钮也是如此

选中的复选框使用字段名和相关值发送-如果HTML中没有值,则发送值“on”


您是说在用户选中后取消选中它吗?否。此复选框为默认-选中。我会取消选中此复选框并通过post请求发送。我想知道首先是什么在选中此复选框。我在您提供的HTML中没有看到它。另外,您从哪里获得
$post
$post = 'encodeURL=false';