git-update.php 234 B

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