The following files exists in this folder. Click to view.
create-user.php
index.php
initialize-db.php
insert.php
insert_page.php
test.php
translate.php
index.php
37 lines ASCII Windows (CRLF)
<!DOCTYPE html>
<?php
include "../include.php";
$path = "./";
?>
<html lang="en">
<head>
<?php include "../components/head.php" ?>
</head>
<body>
<?php include "../components/header.php" ?>
<?php
if ($handle = opendir($path)) {
while (false !== ($file = readdir($handle))) {
if ('.' === $file)
continue;
if ('..' === $file)
continue;
// do something with the file
echo encase("<a href='" . $file . "'>" .
$file .
"</a>", "p");
}
closedir($handle);
}
?>
</body>
</html>