Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #.htaccessnya
- DirectoryIndex index.php
- RewriteRule ^(.*?) /index.php
- # FUNC HTACCESS DI ATAS? ini fungsinya jadi klo user/korban/blabla masuk ke dir / file lain entar nge include index.php :)
- LOG NYA
- # BUat file a.txt
- # Buat file index.php
- ISIIN INI :
- <?php
- $myfile = fopen("a.txt", "a") or die("Unable to open file!");
- $txt = $_SERVER['REQUEST_URI'];
- fwrite($myfile, $txt."\n");
- fclose($myfile);
Add Comment
Please, Sign In to add comment