users tab

This commit is contained in:
2025-10-08 12:15:32 +02:00
parent 5bff409db4
commit e19a66ff62
2 changed files with 20 additions and 0 deletions

19
users.php Normal file
View File

@@ -0,0 +1,19 @@
<?php
include 'header.php';
?>
<article>
Lista użytkowników i linki do ich blogów
<ul>
<?php
$host=htmlspecialchars($_SERVER['SERVER_NAME']);
//$host="";
foreach (scandir("/home/") as $file) {
if (in_array($file, array('.', '..'))) continue;
echo "<li><a href=$file>~$file</a></li>";
}
?>
</ul>
</article>