Skip to content

Instantly share code, notes, and snippets.

@ringmaster
Created April 10, 2012 16:04
Show Gist options
  • Save ringmaster/2352419 to your computer and use it in GitHub Desktop.
Save ringmaster/2352419 to your computer and use it in GitHub Desktop.
index.php on beacon.habariproject.org
<?php
$out = date('r') . "\n";
$out .= var_export($_GET,true) . "\n";
$out .= var_export($_POST,true) . "\n";
file_put_contents(dirname(__FILE__) . '/update.log', $out);
header('Content-type: application/xml');
echo file_get_contents('beacon.xml');
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment