WebServ/www/public/M3/04/saveMsg.php

8 lines
284 B
PHP
Raw Normal View History

2024-09-06 13:22:36 +00:00
<?php
$name = "<hr><p>Från: " . $_POST['name'] . "</p>";
$msg = "<p>" . $_POST['message'] . "</p>";
file_put_contents("../../../M3-04-messages.dat",$name.$msg,FILE_APPEND);
header("location: index.php?page=klotter"); //Omdirigerar till klotterplanket
?>