Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>Chodowanie kur</title>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <link rel="stylesheet" href="style.css">
- </head>
- <body>
- <table>
- <?php
- header('Location: index.php');
- if (isset($_POST['nick'])) {
- $plik = fopen("koment.txt", "a");
- fwrite($plik,date("d/m/y h:i")."\n");
- fwrite($plik, $_POST['nick']."\n");
- fwrite($plik,$_POST['koment']."\n");
- fclose($plik);
- }
- ?>
- </table>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement