tilde/cgi-bin/index.php

25 lines
720 B
PHP

<!DOCTYPE html>
<html>
<head>
<title>cgi-bin</title>
<link rel="stylesheet" href="../gruvbox/gruvbox.min.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body id="top">
<main>
<h1>cgi-bin</h1>
<p>here are some scripts i've been playing with</p>
<?php foreach (glob("*.sh") as $cgi) {
$cgi = basename($cgi); ?>
<p><a href="<?=$cgi?>.txt">-&gt;</a> <a href="<?=$cgi?>"><?=$cgi?></a></p>
<?php } ?>
<p>sources available on <a href="https://tildegit.org/ben/tilde/src/branch/master/cgi-bin">tildegit</a></p>
</main>
</body>
</html>