Advertisement
Maxibanki

Untitled

Sep 20th, 2014
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. <?php
  2. $file = "/tmp/aktivieren.wecker";
  3. if (file_exists( $file )) {
  4. exec("rm -rf /tmp/aktivieren.wecker";
  5. exec("rm -rf /tmp/testAUS");
  6. exec("touch /tmp/testAN");
  7. header("Location:index.php");
  8.  
  9. } else {
  10. exec("touch /tmp/aktivieren.wecker");
  11. exec("rm -rf /tmp/testAUS");
  12. exec("touch /tmp/testAN");
  13. header("Location:index.php");
  14.  
  15. }
  16. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement