num_rows) { header("HTTP/1.0 403 Forbidden"); echo("Key not found" . PHP_EOL); mysqli_close($link); exit; } echo("Ok"); mysqli_free_result($result); mysqli_close($link); ?>