我试图找出如何左键单击鼠标并发送虚假点击,然后当我释放鼠标停止发送虚假点击时,但当我尝试这样做时会发生什么;我按住鼠标,开始用java发送点击,但是当我用java发布虚假点击时,它会被检测为真正的点击并触发释放的功能。
$home = $_POST["home"];
$apendix = $_POST["apendix"];
$sobre = $_POST["sobre"];
$contato = $_POST ["contato"];
$query = "UPDATE form SET ";
if(!empty($home)) {
$query .= "home= '$home',";
}
if(!empty($apendix)) {
$query .= "apendix= '$apendix',";
}
if(!empty($sobre)) {
$query .= "sobre= '$sobre',";
}
if(!empty($contato)) {
$query .= "contato= '$contato',";
}
// strip off any extra commas on the end
$query = rtrim($query, ',');
$query .= "WHERE id='1'";