Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- #Crear si no existe
- if(!file_exists("mensajes.txt")){
- touch("mensajes.txt");
- }
- file_put_contents("mensajes.txt", $_POST["mensaje"] . PHP_EOL . PHP_EOL, FILE_APPEND);
- header("Location: tablero.php");
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement