Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created November 26, 2020 00:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/769b5f1abdc9087ae032d8a692a37b73 to your computer and use it in GitHub Desktop.
Save parzibyte/769b5f1abdc9087ae032d8a692a37b73 to your computer and use it in GitHub Desktop.
<?php
/*
____ _____ _ _ _
| _ \ | __ \ (_) | | |
| |_) |_ _ | |__) |_ _ _ __ _____| |__ _ _| |_ ___
| _ <| | | | | ___/ _` | '__|_ / | '_ \| | | | __/ _ \
| |_) | |_| | | | | (_| | | / /| | |_) | |_| | || __/
|____/ \__, | |_| \__,_|_| /___|_|_.__/ \__, |\__\___|
__/ | __/ |
|___/ |___/
____________________________________
/ Si necesitas ayuda, contáctame en \
\ https://parzibyte.me /
------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Creado por Parzibyte (https://parzibyte.me).
------------------------------------------------------------------------------------------------
Si el código es útil para ti, puedes agradecerme siguiéndome: https://parzibyte.me/blog/sigueme/
Y compartiendo mi blog con tus amigos
También tengo canal de YouTube: https://www.youtube.com/channel/UCroP4BTWjfM0CkGB6AFUoBg?sub_confirmation=1
------------------------------------------------------------------------------------------------
*/
$serial = $_GET["serial"];
$date = date("Y-m-d H:i:s");
$data = sprintf("On %s we got this serial: %s\n", $date, $serial);
file_put_contents("data.txt", $data, FILE_APPEND);
# Respond to the client
printf("Serial %s saved", $serial);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment