Added captcha: Created new page with captcha auth and fields saving mechanism.

This commit is contained in:
SovereigntyIsNotFreedom 2025-04-13 09:22:37 +01:00
parent 243e3d24bb
commit 412a36e66d
10 changed files with 592 additions and 8 deletions

View file

@ -1,3 +1,18 @@
<?php
// Open a known directory, and proceed to read its contents
if (is_dir($dir)) {
if ($dh = opendir($dir)) {
while (($file = readdir($dh)) !== false) {
echo "filename: $file : filetype: " . filetype($dir . $file) . "\n";
}
closedir($dh);
}
}
?>
<!DOCTYPE html>
<html>
<head>
@ -19,6 +34,7 @@
<link rel="icon" href="/img/logo-favicon.png">
</head>
<body>
<div class="width-class">
<?php
@ -36,7 +52,6 @@ require("header.php");
//echo "<p>CSV LINES: " . $lines_uv . " " . $lines_v . "</p>";
?>
<form action="index.php" method="GET">
<input type="text" name="query" />
<input type="submit" value="Search" /> </br>
@ -99,6 +114,8 @@ require("header.php");
?>
</div>
<a href="submit.php">Submit a link</a>
<?php
require("footer.php");
?>