git-update.php 191 B

1234567891011
  1. <?php
  2. if($_SERVER['REQUEST_METHOD'] != 'POST') {
  3. include error(403);
  4. die;
  5. }
  6. ob_start();
  7. print_r($_POST);
  8. file_put_contents('/tmp/log.txt', ob_get_contents(), FILE_APPEND);
  9. ob_end_clean();