Last active
March 2, 2019 08:17
-
-
Save mrvdb/6d33f17a61183ff52083c3c737dd9334 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 | |
// Quick log wrapper | |
function _log($str) { | |
file_put_contents("php://stdout", $str); | |
} | |
// Show that we're up | |
_log("Got some data....\n"); | |
// If we get something, log it | |
$data=file_get_contents("php://input"); | |
_log($data); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment