Skip to content

Instantly share code, notes, and snippets.

@tiagomatos
Created April 28, 2014 17:49
Show Gist options
  • Save tiagomatos/11379118 to your computer and use it in GitHub Desktop.
Save tiagomatos/11379118 to your computer and use it in GitHub Desktop.
Log Jumpseller notifications in PHP
<?
$body = file_get_contents('php://input');
#$data = json_decode($body, true); #decode JSON string.
file_put_contents("jumpseller_posts.txt", date("Y-m-d H:i:s")."\n".$body, FILE_APPEND);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment