Created
August 5, 2019 22:33
-
-
Save rodurma/d66cff363194b8881edb51bca5aec35f 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 | |
$json = json_decode(file_get_contents('php://input')); | |
if (isset($json->SubscribeURL)){ | |
file_get_contents($json->SubscribeURL); | |
} | |
file_put_contents("./cron-" . time() . '.txt', json_encode($json)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment