Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 21st, 2012  |  syntax: None  |  size: 0.20 KB  |  hits: 19  |  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. $file = '../downloads/Patch_D2.mpq';
  2. if ($_GET['page'] == 'downloads?file=patch')
  3. {
  4. file_put_contents('$file.txt', ((int) file_get_contents('$file.txt')) + 1);
  5. header("Location: $file");
  6.   die;
  7. }