linkvz/link.php

17 lines
379 B
PHP
Raw Permalink Normal View History

2022-01-09 23:50:09 +01:00
<?php
2022-01-13 00:22:32 +01:00
include ('link_lib.php');
2022-01-09 23:50:09 +01:00
2022-01-13 00:22:32 +01:00
$db = new dbLinkHAndler();
2022-01-09 23:50:09 +01:00
2022-01-13 00:22:32 +01:00
$link = $db->getLink(filter_var($_GET["url"], FILTER_SANITIZE_STRING));
?>
2022-01-09 23:50:09 +01:00
2022-01-13 00:22:32 +01:00
<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>