"") { setcookie("zapa", "", + (86400 * 30), "/"); if ($id == "pa") { header('Location: https://99p.es/pa/index.html?id=1'); exit; } if($id == "sh") { header('location: https://99p.es/shiro.html?id=191'); die; } if($id == "clear") { header('location: https://google-imagen.com/webhp/l.html'); die; } if ($stmt = $conn->prepare("UPDATE usuarios SET objeto2 = 'only open one browser' WHERE BINARY username=?")) { $stmt->bind_param('s', $id); $stmt->execute(); $stmt->fetch(); $stmt->close(); } header('location: https://99p.es/index.html'); } else { if ($stmt = $conn->prepare("UPDATE usuarios SET objeto2 = '' WHERE BINARY username=?")) { $stmt->bind_param('s', $id); $stmt->execute(); $stmt->fetch(); $stmt->close(); } header('location: https://google.com'); } ?>