Created
January 11, 2022 14:16
-
-
Save ss23/001cf6d576e9d3d0087d9f94755e8345 to your computer and use it in GitHub Desktop.
This file contains 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