dadqwedwdqwewferft

This commit is contained in:
2021-01-19 20:01:09 +01:00
commit 9b582a0272
13 changed files with 10959 additions and 0 deletions

33
htdocs/chat/index.php Normal file
View File

@@ -0,0 +1,33 @@
<!DOCTYPE html>
<html>
<head>
<title>fChat</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="form">
<form action="/cgi-bin/chat/send.php" method="get">
Nickname: <input type="text" name="userName"><br>
Message:<br>
<input type="text" name="userMessage"><br>
<input type="submit" value="Send">
</form>
<hr>
</div>
<div id="messages">
<?php
$s = glob("/srv/www/htdocs/chat/messages/*.php");
natsort($s);
foreach ($s as $message) {
include $message;
}
?>
</div>
</body>
</html>