linkvz/link.php

17 lines
379 B
PHP

<?php
include ('link_lib.php');
$db = new dbLinkHAndler();
$link = $db->getLink(filter_var($_GET["url"], FILTER_SANITIZE_STRING));
?>
<html>
<head>
</head>
<body>
<p>Name: <?= $link->name; ?></p>
<p>URL: <a href="<?= $link->url; ?>" target="_blank"><?= $link->url; ?></a></p>
<p>Hinzugefügt: <?= $link->reg_date; ?></p>
</body>
</html>