Created
April 10, 2021 05:40
-
-
Save ss23/04797f05fafa1f2337f59d8d2a70711f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$file = $_GET['file'] ?? '/tmp/file'; | |
$data = $_GET['data'] ?? ':)'; | |
file_put_contents($file, $data); | |
echo file_get_contents($file); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment