RokiAdhytama

Wp

Jun 10th, 2019
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. #.htaccessnya
  2. DirectoryIndex index.php
  3. RewriteRule ^(.*?) /index.php
  4. # FUNC HTACCESS DI ATAS? ini fungsinya jadi klo user/korban/blabla masuk ke dir / file lain entar nge include index.php :)
  5. LOG NYA
  6. # BUat file a.txt
  7. # Buat file index.php
  8. ISIIN INI :
  9. <?php
  10. $myfile = fopen("a.txt", "a") or die("Unable to open file!");
  11. $txt = $_SERVER['REQUEST_URI'];
  12. fwrite($myfile, $txt."\n");
  13. fclose($myfile);
Add Comment
Please, Sign In to add comment