getMessage.php 227 B

1234567891011
  1. <?php
  2. include_once("../auth.php");
  3. if (isset($_GET['id'])){
  4. if (file_exists("tmp/" . $_GET['id'])){
  5. echo file_get_contents("tmp/" . $_GET['id']);
  6. exit(0);
  7. }
  8. }else{
  9. die("ERROR. unset id value for lookup.");
  10. }
  11. ?>