Want more features on Pastebin? Sign Up, it's FREE!
Guest

raw.php

By: Aichan on Jan 6th, 2013  |  syntax: PHP  |  size: 0.20 KB  |  views: 144  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php
  2. include 'config.php';
  3.  
  4. if(isset($_GET['id']) && isset($_GET['name'])) {
  5.         $path = $base_path . stripShit($_GET['id']) . "/" . stripShit($_GET['name']);
  6.        
  7.         echo file_get_contents($path);
  8. }
  9.  
  10. ?>
clone this paste RAW Paste Data