use querystring

This commit is contained in:
Bruno Rybársky 2023-06-10 09:17:05 +02:00
parent 0882db10b2
commit 5e9bcd0d93
No known key found for this signature in database
GPG Key ID: DFE2C061EF985CD4

@ -1,6 +1,6 @@
<?php
$idcko = $_GET['id'];
$idcko = $_SERVER['QUERY_STRING'];
if (!empty($idcko)){
@ -9,7 +9,7 @@ if (!empty($idcko)){
$ipcka = $_SERVER['REMOTE_ADDR'];
$curdate = date("H:i:s d.m.Y");
$stmt1 = $mysqli->prepare("SELECT `LinkID`, `ContentID`, `Nickname` FROM `Links` WHERE `LinkID` = ?");
$stmt1->bind_param("s", $idcko);
$stmt1->bind_result($linkid, $contentid, $nickname);