threadr.lostcave.ddnss.de/threadr/board/post.php

12 lines
486 B
PHP
Raw Normal View History

2020-03-08 16:17:27 +01:00
<?php
%REQUIRE_LOGIN%
2020-03-08 16:38:58 +01:00
$pdo = new PDO('mysql:host=localhost;dbname=web', 'webstuff', 'Schei// auf Pa$$w0rter!');
$query = "SELECT id, name, authentication_algorithm FROM users;";
2020-03-08 16:17:27 +01:00
?>
2020-03-08 03:59:52 +01:00
<section>
2020-03-08 16:38:58 +01:00
<form action="%CONTENT_DIR%/board/?action=submit" method="post">
2020-03-08 03:43:09 +01:00
<input type="text" name="post" maxlength="65535" placeholder="You can contribute to the conversation here. Tell us your story in up to 65535 characters..."/>
<input type="submit" value="Post">
</form>
2020-03-08 03:58:48 +01:00
</section>